Changes between Version 3 and Version 4 of documentation/tutorials/PythonEventSystem
- Timestamp:
- 01/09/08 11:22:05 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
documentation/tutorials/PythonEventSystem
v3 v4 150 150 // Initialise python 151 151 Py_Initialize(); 152 153 // Setup the Python search path. 154 const char* python_path = Py_GetPath(); 155 char buffer[1024]; 156 snprintf(buffer, 1024, "../samples/invaders/python;%s", python_path); 157 buffer[1023] = '\0'; 158 PySys_SetPath(buffer); 152 159 153 160 // Import rocket