mirror of
https://github.com/worldforge/cyphesis
synced 2026-08-13 12:26:04 -04:00
Add a wrapper for terrain mod property
This commit is contained in:
parent
4af56c3ffd
commit
e84dbc013f
6 changed files with 159 additions and 1 deletions
|
|
@ -783,6 +783,12 @@ void init_python_api(bool log_stdout)
|
|||
return;
|
||||
}
|
||||
|
||||
PyTerrainModProperty_Type.tp_new = PyType_GenericNew;
|
||||
if (PyType_Ready(&PyTerrainModProperty_Type) < 0) {
|
||||
log(CRITICAL, "Python init failed to ready TerrainModProperty wrapper type");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
debug(std::cout << Py_GetPath() << std::endl << std::flush;);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue