Changeset 621:04dbea46c7a2 in freeDiameter for extensions/dbg_interactive/diwrap.i
- Timestamp:
- Dec 7, 2010, 11:13:58 AM (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/dbg_interactive/diwrap.i
r618 r621 37 37 %module diwrap 38 38 39 /* Include standard types used in freeDiameter headers */39 /* Include standard types & functions used in freeDiameter headers */ 40 40 %include <stdint.i> 41 42 /* Allow modification of the wrapper for OUTPUT vars */43 %include "typemaps.i"44 41 45 42 %{ 46 43 /* Define types etc. */ 44 #define SWIG 47 45 #include <freeDiameter/extension.h> 48 46 %} 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 */ 62 extern void fd_list_init ( struct fd_list * list, void * obj = NULL ); 63 49 64 50 65 /* Retrieve the compile-time definitions of freeDiameter */ … … 53 68 %include "freeDiameter/freeDiameter.h" 54 69 70
Note: See TracChangeset
for help on using the changeset viewer.