Skip to content
Browse files

Fix compilation of modpython.

  • Loading branch information...
1 parent b62c47c commit c2cc57cbf444b321dc86d6af4f41de69b3c6314a Alexey Sokolov committed Aug 21, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 modules/modpython/codegen.pl
  2. +1 −1 modules/modpython/functions.in
View
2 modules/modpython/codegen.pl
@@ -279,7 +279,7 @@
when ('bool') {
say $out "Py_BuildValue(\"l\", (long int)$a->{var});";
}
- when (/^E/) {
+ when (/(?:^|::)E/) {
say $out "Py_BuildValue(\"i\", (int)$a->{var});";
}
default {
View
2 modules/modpython/functions.in
@@ -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)

0 comments on commit c2cc57c

Please sign in to comment.
Something went wrong with that request. Please try again.