Fix global python modules.

This commit is contained in:
Alexey Sokolov authored and Kyle Fuller committed 2011-08-21 13:34:23 +01:00
1 parent 76aaafd4d0
commit 0c9eae226e
4 files changed
+32 -3

No files matched your search

+9
View File
@@ -73,6 +73,15 @@ namespace std {
}
}
%typemap(out) CString&, CString* {
if ($1) {
$result = CPyRetString::wrap(*$1);
} else {
$result = Py_None;
Py_INCREF(Py_None);
}
}
#define u_short unsigned short
#define u_int unsigned int
#include "../ZNCString.h"