diff options
-rw-r--r-- | ctracecmd.i | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ctracecmd.i b/ctracecmd.i index efd5629..ea62772 100644 --- a/ctracecmd.i +++ b/ctracecmd.i | |||
@@ -3,6 +3,9 @@ | |||
3 | %include "typemaps.i" | 3 | %include "typemaps.i" |
4 | %include "constraints.i" | 4 | %include "constraints.i" |
5 | 5 | ||
6 | %nodefaultctor record; | ||
7 | %nodefaultdtor record; | ||
8 | |||
6 | %apply Pointer NONNULL { struct tracecmd_input *handle }; | 9 | %apply Pointer NONNULL { struct tracecmd_input *handle }; |
7 | %apply Pointer NONNULL { struct pevent *pevent }; | 10 | %apply Pointer NONNULL { struct pevent *pevent }; |
8 | %apply Pointer NONNULL { struct format_field * }; | 11 | %apply Pointer NONNULL { struct format_field * }; |