Navigation



Ignore:
Timestamp:
Dec 7, 2010, 11:13:58 AM (13 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Cleanup many SWIG definitions from main .h files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/dbg_interactive/diwrap.i

    r618 r621  
    3737%module diwrap
    3838
    39 /* Include standard types used in freeDiameter headers */
     39/* Include standard types & functions used in freeDiameter headers */
    4040%include <stdint.i>
    41  
    42 /* Allow modification of the wrapper for OUTPUT vars */
    43 %include "typemaps.i"
    4441
    4542%{
    4643/* Define types etc. */
     44#define SWIG
    4745#include <freeDiameter/extension.h>
    4846%}
     47
     48/* Some functions are not available through the wrapper */
     49%ignore fd_lib_init;
     50%ignore fd_lib_fini;
     51%ignore fd_sess_start;
     52
     53/* Inline functions seems to give problems to SWIG -- just remove the inline definition */
     54%define __inline__
     55%enddef
     56
     57/* Make some global-variables read-only */
     58%immutable fd_g_config;
     59%immutable peer_state_str;
     60
     61/* Overwrite a few functions prototypes for usability */
     62extern void fd_list_init ( struct fd_list * list, void * obj = NULL );
     63
    4964
    5065/* Retrieve the compile-time definitions of freeDiameter */
     
    5368%include "freeDiameter/freeDiameter.h"
    5469
     70
Note: See TracChangeset for help on using the changeset viewer.