summaryrefslogtreecommitdiff
path: root/gi/pyginterface.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't assume Py_TYPE being a macroTomas Hrnciar2020-11-111-1/+1
| | | | | | Py_TYPE was changed to a function in Python 3.10. Suggested approach is to use Py_SET_TYPE macro instead, see: https://docs.python.org/3.10/whatsnew/3.10.html.
* Rename PYGLIB_DEFINE_TYPE to PYGI_DEFINE_TYPEChristoph Reiter2020-04-161-1/+1
| | | | This is a leftover from when things were split up
* Remove PYGOBJECT_REGISTER_GTYPEChristoph Reiter2020-04-161-11/+21
| | | | Less macro magic
* Remove all Python 2 C codeChristoph Reiter2020-04-161-1/+1
|
* Merge pygtype.c and pygi-type.cChristoph Reiter2018-03-311-1/+1
| | | | No need to have two similarly named files
* Make sure that types are fully initialized when they are first used.Christoph Reiter2018-03-241-0/+1
| | | | | | | This asserts that PyType_Ready() was called on the types before using them to create instances or as base class for other types. With this PyPy no longer crashes when importing the _gi module.
* Add error handling to all type init function.Christoph Reiter2018-03-231-3/+7
| | | | | They were all just ignoring errors. Also change those functions to use the pygi prefix.
* Rename pyglib-python-compat.h to pygi-python-compat.hChristoph Reiter2018-03-231-1/+1
| | | | There is no pyglib anymore
* Remove pyglib.c/hChristoph Reiter2018-03-221-1/+1
| | | | Leftovers from the static bindings, move to their users.
* Remove usage of HAVE_CONFIG_HChristoph Reiter2018-03-211-3/+1
| | | | We always build with config.h
* Remove pygobject-private.h and rename pygobject.c to pygobject-object.cChristoph Reiter2016-06-011-1/+2
| | | | | | | | | | | | | | | | | | | Move all the random declarations in pygobject-private.h to their respective header files. Rename pygobject.c to pygobject-object.c so it's clearer that it's not the implementation of pygobject.h. Add a new pygobject-internal.h which includes pygobject.h with _INSIDE_PYGOBJECT_ defined like pygobject-private.h did. In case you are looking at the git log and end up here due to the rename try: git log --follow pygobject-object.c or on the web interface go to the history of the old file name: https://git.gnome.org/browse/pygobject/log/gi/pygobject.c?id=6b702c052e9f26e809cff494f0c896d17a514c64 https://bugzilla.gnome.org/show_bug.cgi?id=767084
* Update Free Software Foundation addressesSimon Feltman2014-03-151-3/+1
| | | | | Update all references to the FSF physical address to use the web address: http://www.gnu.org/licenses
* Merge gobject static code into the gi moduleSimon Feltman2014-01-141-0/+124
Remove gi._gobject._gobject as a separately compiled static module and move all the files into gi._gi. Remove dead module initialization macros from "pyglib-python-compat.h" https://bugzilla.gnome.org/show_bug.cgi?id=712197