Fix compilation of modpython.
This commit is contained in:
1 parent
b62c47c86e
commit
c2cc57cbf4
2 files changed
+2
-2
No files matched your search
@@ -279,7 +279,7 @@ while (<$in>) {
|
||||
when ('bool') {
|
||||
say $out "Py_BuildValue(\"l\", (long int)$a->{var});";
|
||||
}
|
||||
when (/^E/) {
|
||||
when (/(?:^|::)E/) {
|
||||
say $out "Py_BuildValue(\"i\", (int)$a->{var});";
|
||||
}
|
||||
default {
|
||||
|
||||
@@ -61,4 +61,4 @@ void OnServerCapResult(const CString& sCap, bool bSuccess)
|
||||
EModRet OnTimerAutoJoin(CChan& Channel)
|
||||
bool OnEmbeddedWebRequest(CWebSock& WebSock, const CString& sPageName, CTemplate& Tmpl)=false
|
||||
|
||||
EModRet OnModuleLoading(const CString& sModName, const CString& sArgs, EModuleType eType, bool& bSuccess, CString& sRetMsg)
|
||||
EModRet OnModuleLoading(const CString& sModName, const CString& sArgs, CModInfo::EModuleType eType, bool& bSuccess, CString& sRetMsg)
|
||||
Reference in new issue
Block a user