Emmanuel Briot
e120ec7b8a
Activate the interface for PyGTK only if the later was found and enabled by
...
the user at compile-time. Part of F130-004
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@97984 936e1b1b-40f2-da11-902a-00137254ae57
2006-07-17 14:22:48 +00:00
Arnaud Charlet
56ceee8fdf
Revert previous change for now, which is not compatible with python 2.4
...
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@96751 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-05 15:25:41 +00:00
Arnaud Charlet
5566512293
Fix warning on 64 bits machines.
...
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@96750 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-05 14:53:55 +00:00
Arnaud Charlet
92d8395f0f
Minor reformatting.
...
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@96737 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-05 14:08:06 +00:00
Arnaud Charlet
ae7eca42ec
Minor reformatting.
...
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@96734 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-05 12:22:41 +00:00
Arnaud Charlet
6e4dda07b1
Fix improper use of varargs C functions and use wrappers instead.
...
Should fix python errors under x86_64.
Part of F504-026.
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@96726 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-05 11:02:01 +00:00
Emmanuel Briot
9440933efe
(ada_py_refcount_msg): new subprogram used for debugging purposes
...
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@95205 936e1b1b-40f2-da11-902a-00137254ae57
2006-02-08 15:55:02 +00:00
Emmanuel Briot
4e9e6b3bb1
Change the type of a parameter. This puts back a compilation warning, but
...
otherwise we are not compatible with the version of python uses in the nightly
builds
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@95055 936e1b1b-40f2-da11-902a-00137254ae57
2006-01-27 08:29:37 +00:00
Emmanuel Briot
0809e41d96
Fix compilation warning
...
Minor code reformating
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@95041 936e1b1b-40f2-da11-902a-00137254ae57
2006-01-26 15:32:59 +00:00
Arnaud Charlet
57c9e93217
Remove cast to PyCodeObject, not recognized/needed by Python 1.3
...
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@92655 936e1b1b-40f2-da11-902a-00137254ae57
2005-07-08 13:19:49 +00:00
Emmanuel Briot
b193f870da
Various changes to the functions so that we support both Classes and
...
"new-style" classes of Python (aka objects deriving from the object class)
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@92639 936e1b1b-40f2-da11-902a-00137254ae57
2005-07-08 08:27:01 +00:00
Emmanuel Briot
37bcaabe7d
Change the way DEBUG works (so that Print_Refcount can always be used in GPS
...
to debug the reference counting for scripts)
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@92419 936e1b1b-40f2-da11-902a-00137254ae57
2005-06-22 10:31:03 +00:00
Emmanuel Briot
598060b6ae
(Get_Refcount): New subprogram
...
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@91968 936e1b1b-40f2-da11-902a-00137254ae57
2005-04-22 15:05:30 +00:00
Emmanuel Briot
7a4bf7f1cc
(ada_widget_from_pyobject): New function, for better integration with pygtk
...
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@91643 936e1b1b-40f2-da11-902a-00137254ae57
2005-04-07 08:18:29 +00:00
Emmanuel Briot
69f609d364
(ada_pycfunction_newex): Return the newly created method. Fixes D921-006
...
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@88932 936e1b1b-40f2-da11-902a-00137254ae57
2004-09-28 10:08:46 +00:00
Emmanuel Briot
4ea055414d
(ada_pyclass_name): New subprogram
...
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@88911 936e1b1b-40f2-da11-902a-00137254ae57
2004-09-27 12:59:16 +00:00
Emmanuel Briot
5b01a9ea15
(ada_pymethod_check): New subprogram
...
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@88897 936e1b1b-40f2-da11-902a-00137254ae57
2004-09-27 07:34:50 +00:00
Emmanuel Briot
2491e8c85b
One more attempt at compatibility with Python 2.3.2: since there is no way
...
to set the module information for functions exported from C or Ada, we'll
have to leave with that and have a workaround in the python script that
gets the XML documentation for Python entities
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@88819 936e1b1b-40f2-da11-902a-00137254ae57
2004-09-22 07:58:14 +00:00
Emmanuel Briot
ac92b64fb2
(PyCFunction_NewEx): Only exists for python >= 2.3, replace it by a small
...
wrapper in python_support.c instead
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@88817 936e1b1b-40f2-da11-902a-00137254ae57
2004-09-21 16:13:42 +00:00
Emmanuel Briot
b6d47e6d7b
(ada_py_initmodule4): Simple wrapper around python's function, since the latter
...
might be in fact a macro if python was compiled with debug options
(ada_py_print_refcount): New subprogram, support for debugging memory leaks
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85914 936e1b1b-40f2-da11-902a-00137254ae57
2003-11-18 13:28:48 +00:00
Emmanuel Briot
1c32054955
(ada_pyfunction_check, ada_pyfunction_get_globals, ada_pyfunction_get_code,
...
ada_pyfunction_get_closure, ada_pyfunction_get_defaults,
ada_PyEval_EvalCodeEx): New subprograms
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85809 936e1b1b-40f2-da11-902a-00137254ae57
2003-11-13 09:27:52 +00:00
Emmanuel Briot
152b2731fc
(PyList_GetItem, PyList_Size, PyList_Check): New subprograms
...
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@82061 936e1b1b-40f2-da11-902a-00137254ae57
2003-04-07 09:28:16 +00:00
Emmanuel Briot
d219d4e972
Remove support for booleans, only supported from python 2.3 on, when only
...
python 2.2 is only distributed with Redhat 8
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@81710 936e1b1b-40f2-da11-902a-00137254ae57
2003-03-18 00:32:17 +00:00
Emmanuel Briot
d7f98f843c
(PyBool_Check): New subprogram
...
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@81646 936e1b1b-40f2-da11-902a-00137254ae57
2003-03-13 11:22:56 +00:00
Emmanuel Briot
488f2b4265
(Py_False, Py_True, ada_py_false, ada_py_true): New subprograms
...
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@81620 936e1b1b-40f2-da11-902a-00137254ae57
2003-03-12 16:11:57 +00:00