Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pythonmission.cpp
Go to the documentation of this file.
1 #include <Python.h>
2 #include <math.h>
3 #include "pythonmission.h"
5 #include <string>
6 #include "pythonmission.h"
7 #include "python/init.h"
8 #include <boost/version.hpp>
9 #if BOOST_VERSION == 102800
10 #include <boost/python/reference.hpp>
11 #include <boost/python/callback.hpp>
12 #endif
13 #include "vsfilesystem.h"
14 #include "cmd/container.h"
17 {
18  delete this;
19 }
21 {
22  for (unsigned int i = 0; i < relevant_units.size(); ++i) {
23  relevant_units[i]->SetUnit( NULL );
24  delete relevant_units[i];
25  }
26  relevant_units.clear();
27  VSFileSystem::vs_fprintf( stderr, "BASE Destruct called. If called from C++ this is death %ld (0x%x)",
28  (unsigned long) (size_t) this, (unsigned int) (size_t) this );
29 }
30 
33 
35 {
36  return std::string();
37 }
38 
39 void PythonMissionBaseClass::UnPickle( std::string s ) {}
40