version 1.9 | version 1.10 | |||
---|---|---|---|---|
|
| |||
Py_Initialize(); | Py_Initialize(); | |||
Crossfire_ObjectType.tp_new = PyType_GenericNew; | Crossfire_ObjectType.tp_new = PyType_GenericNew; | |||
PyType_Ready(&Crossfire_ObjectType); | PyType_Ready(&Crossfire_ObjectType); | |||
PyType_Ready(&Crossfire_MapType); | ||||
PyType_Ready(&Crossfire_PlayerType); | ||||
m = Py_InitModule("Crossfire", CFPythonMethods); | m = Py_InitModule("Crossfire", CFPythonMethods); | |||
d = PyModule_GetDict(m); | d = PyModule_GetDict(m); |
Legend:
|