summaryrefslogtreecommitdiff
path: root/gi/pygparamspec.c
Commit message (Collapse)AuthorAgeFilesLines
* Include Python.h firstChristoph Reiter2018-04-121-0/+1
| | | | prevents _POSIX_C_SOURCE redefinition errors
* Port more integer convertersChristoph Reiter2018-03-311-34/+35
|
* Merge pygtype.c and pygi-type.cChristoph Reiter2018-03-311-1/+1
| | | | No need to have two similarly named files
* Add error handling to all type init function.Christoph Reiter2018-03-231-4/+8
| | | | | They were all just ignoring errors. Also change those functions to use the pygi prefix.
* Remove pyglib.c/hChristoph Reiter2018-03-221-4/+4
| | | | 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
* Fix conversion from pointers to hashfunc return values.Christoph Reiter2017-03-291-2/+2
| | | | | | | | | | | | | | Fixes comiler warnings on 64bit Windows. Python 3 now uses Py_hash_t as return value for hashfunc. Use a compat define so we can use the right type depending on the Python version. On Python 2 + 64bit Windows the pointer doesn't fit the long return type. Add a macro which handles the casting for that case to prevent compiler warnings. https://bugzilla.gnome.org/show_bug.cgi?id=780591
* Remove pygobject-private.h and rename pygobject.c to pygobject-object.cChristoph Reiter2016-06-011-1/+4
| | | | | | | | | | | | | | | | | | | 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
* Use accessors for getting and setting PyGParamSpec pointersSimon Feltman2014-05-161-11/+11
| | | | | | | | Add pyg_param_spec_get and pyg_param_spec_set macros for getting and setting the GParamSpec pointer field held by the Python wrapper. This is preliminary cleanup work for supporting fundamental types. https://bugzilla.gnome.org/show_bug.cgi?id=631901
* 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/+418
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