cemu-idapython/swig/struct.i
2007-10-20 07:03:51 +00:00

15 lines
346 B
OpenEdge ABL

// Kernel-only symbols
%ignore init_struc;
%ignore save_struc;
%ignore term_struc;
%feature("compactdefaultargs") add_struc;
%include "struct.hpp"
// Add a get_member() member function to struc_t.
// This helps to access the members array in the class.
%extend struc_t {
member_t * get_member(int index) { return &(self->members[index]); }
}