mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Fix global python modules.
This commit is contained in:
committed by
Kyle Fuller
parent
76aaafd4d0
commit
0c9eae226e
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user