hackathon-dev #1
|
@ -58,7 +58,7 @@ HRESULT Epython_register_constants(PyObject *module, PCREGCONSTANT const_table)
|
||||||
case 's':
|
case 's':
|
||||||
rc = PyModule_AddStringConstant(module, const_table[i].name, const_table[i].value.sval);
|
rc = PyModule_AddStringConstant(module, const_table[i].name, const_table[i].value.sval);
|
||||||
break;
|
break;
|
||||||
default;
|
default:
|
||||||
Log(LERROR, "register_constants type '%c' unknown", const_table[i].regtype);
|
Log(LERROR, "register_constants type '%c' unknown", const_table[i].regtype);
|
||||||
return E_UNEXPECTED;
|
return E_UNEXPECTED;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user