diff options
| author | Choupom <andycootlapin@hotmail.fr> | 2011-06-01 20:19:12 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-06-02 17:42:30 +0200 |
| commit | 603071ee92de0859da04a70c7bd5971fca163288 (patch) | |
| tree | 964b093b5404bac324997dfd4278e64d14783097 /datasrc/compile.py | |
| parent | deff0ce7c4442950580533b47d7145f79bcca9bb (diff) | |
| download | zcatch-603071ee92de0859da04a70c7bd5971fca163288.tar.gz zcatch-603071ee92de0859da04a70c7bd5971fca163288.zip | |
fixed data struct names
Diffstat (limited to 'datasrc/compile.py')
| -rw-r--r-- | datasrc/compile.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/datasrc/compile.py b/datasrc/compile.py index e8901c48..088e500a 100644 --- a/datasrc/compile.py +++ b/datasrc/compile.py @@ -75,7 +75,7 @@ if gen_client_content_header or gen_server_content_header: EmitTypeDeclaration(content.__dict__[name]) # the container pointer - print('extern DATACONTAINER *g_pData;') + print('extern CDataContainer *g_pData;') # enums EmitEnum(["IMAGE_%s"%i.name.value.upper() for i in content.container.images.items], "NUM_IMAGES") @@ -88,7 +88,7 @@ if gen_client_content_source or gen_server_content_source: if gen_server_content_source: print('#include "server_data.h"') EmitDefinition(content.container, "datacontainer") - print('DATACONTAINER *g_pData = &datacontainer;') + print('CDataContainer *g_pData = &datacontainer;') # NETWORK if gen_network_header: |