Fix compilation of modpython.

This commit is contained in:
Alexey Sokolov
2011-08-21 21:51:28 +07:00
parent b62c47c86e
commit c2cc57cbf4
2 changed files with 2 additions and 2 deletions

View File

@@ -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 {

View File

@@ -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)