Commit Graph

9 Commits

Author SHA1 Message Date
Arnaud Charlet
1991ff772f Update copyright notice.
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gps@162804 936e1b1b-40f2-da11-902a-00137254ae57
2010-07-23 09:32:24 +00:00
Arnaud Charlet
21297c153f Minor reformatting.
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gps@162803 936e1b1b-40f2-da11-902a-00137254ae57
2010-07-23 09:32:05 +00:00
Emmanuel Briot
8fd89eac92 Added support for boolean types (supported in python since 2.5). This is
needed to better handle calling python functions from Ada when they
 return a "bool"

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gps@152423 936e1b1b-40f2-da11-902a-00137254ae57
2009-11-18 08:34:26 +00:00
Olivier Ramonat
075a388512 Merge gnatpython changes
Add support for PyFloat
Add Py_Main function to start the python interpreter

git-svn-id: svn+ssh://svn.eu/Dev/trunk/gps@132647 936e1b1b-40f2-da11-902a-00137254ae57
2008-11-24 11:52:42 +00:00
Emmanuel Briot
9594a2968a Make use of Py_ssize_t optional, depending on python version
git-svn-id: svn+ssh://svn.eu/Dev/trunk/gps@128228 936e1b1b-40f2-da11-902a-00137254ae57
2008-09-01 13:53:06 +00:00
Emmanuel Briot
4750c182e4 (ada_PyEval_EvalCodeEx): fix types used to match python prototypes.
Fixes regression in the continuous builder in the hooks.1 test


git-svn-id: svn+ssh://svn.eu/Dev/trunk/gps@128188 936e1b1b-40f2-da11-902a-00137254ae57
2008-08-29 13:25:04 +00:00
Emmanuel Briot
f4252deb3b Redo previous check in, including compile.h instead since code.h
did not exist on older versions of python apparently


git-svn-id: svn+ssh://svn.eu/Dev/trunk/gps@126469 936e1b1b-40f2-da11-902a-00137254ae57
2008-07-08 08:03:01 +00:00
Emmanuel Briot
98e59381ba Added explicit #include for code.h, since on some versions of
python it doesn't seem to be included by default, which prevents
 compilation of this file (fails with Python 2.3.4)


git-svn-id: svn+ssh://svn.eu/Dev/trunk/gps@126467 936e1b1b-40f2-da11-902a-00137254ae57
2008-07-08 07:50:51 +00:00
Emmanuel Briot
0c34b8e20f Added support for "make install" (G706-003)
No source file has changed, but they were moved so that they are all under src/
 now (and possibly subdirectories for those sources that depend on optional
 external libraries).
We now support building both static and relocatable libraries at the same time,
 using separate lib and obj directories to avoid conflicts. Also both can be
 installed in the same prefix, the choice between the two can be done by the
 user application


git-svn-id: svn+ssh://svn.eu/Dev/trunk/gps@113225 936e1b1b-40f2-da11-902a-00137254ae57
2007-07-06 12:28:18 +00:00