loadable module. However, please note that:
- All the methods accepting a Glib::ustring should
not be exported, instead they should be replaced by wrapper
functions accepting PyObject*.
- The same thing applies to every other method accepting
a ``non built-in'' data type
- Return types should probably be wrapped, too
- It may be a good idea to implement wrapper methods
that print out the content of a C++ object,
so that a Python user can do a simple "print schedStat".
This is achieved by adding a "__str__()" method to the
class. See the SWIG manual for further infos about
returning const char* values.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@354 3ecf2c5c-341e-0410-92b4-d18e462d057c
in order to:
- fix wrong design
- fix include paths
- fix installation of header files
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@333 3ecf2c5c-341e-0410-92b4-d18e462d057c
- Add -Wno-long-long to compiler options in order to workaround Python types' evilness
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@322 3ecf2c5c-341e-0410-92b4-d18e462d057c
- Can't compile when trying to link with Python
+ check -pedantic parameter
+ when compiling main.cc there is no -I/..../Python parameter
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@321 3ecf2c5c-341e-0410-92b4-d18e462d057c
- Use a "\" to prevent line breaks when you must split some command on more than a line. The slash must be the _last_ character present on a line.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@285 3ecf2c5c-341e-0410-92b4-d18e462d057c
work correctly with GCC >= 4.0, while doing nothing for GCC < 4.0
- Add class sgpem::schedulable to test for DSO visibility export.
Methods may need to be reordered to conform to coding style guidelines
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@244 3ecf2c5c-341e-0410-92b4-d18e462d057c
- The main program, the frontend
- A pyton loader library
- The backend library
Happy hacking.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@240 3ecf2c5c-341e-0410-92b4-d18e462d057c
- Now distcheck works correctly, including a copy of the API
documentation in the built dist tar.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@214 3ecf2c5c-341e-0410-92b4-d18e462d057c
ideally it should be a target to work towards decoupling
- Still more experimental, added support for visibility exports from DSOs. Need
testing from someone with GCC 4.0
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@206 3ecf2c5c-341e-0410-92b4-d18e462d057c
- Creates a vector with filenames to be opened; not actually useful now,
it's already in place when it'll be needed.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@191 3ecf2c5c-341e-0410-92b4-d18e462d057c
- Create Makefile for sources, add main.cc that just prints the
license as a test for the rules.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@175 3ecf2c5c-341e-0410-92b4-d18e462d057c