summaryrefslogtreecommitdiff
path: root/_dbus_bindings/float.c
Commit message (Collapse)AuthorAgeFilesLines
* Always include dbus_bindings-internal.h firstSimon McVittie2016-03-051-1/+2
| | | | | | | | | | | | This file includes <Python.h>, with some #defines that affect the interpretation of the Python headers (PY_SSIZE_T_CLEAN, PY_SIZE_T_CLEAN). In particular, <Python.h> transitively includes pyconfig.h, which defines _GNU_SOURCE, altering the version of struct stat used; this is potentially a problem if a struct stat is shared between files, although in practice we don't do that. Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749133
* Don't include stdint.hSimon McVittie2012-07-041-2/+0
| | | | | | Every use here turns out to be unnecessary, some compilers *still* don't have it after more than a decade in ISO C, and if we need fixed-length integer types we can use the ones from D-Bus.
* Use PyVarObject_HEAD_INIT to initialize typesBarry Warsaw2011-12-131-4/+2
| | | | | | Part of a patch for Python 3 compatibility. Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* fd.o #23831: make sure to ref types passed to PyModule_AddObjectSimon McVittie2010-12-021-0/+1
| | | | | | | This avoids these static types wrongly being deallocated. Python implements static types as having one initial reference, which is never meant to be released, but if you get your refcounting wrong they'll be "deallocated" (causing a crash) during Py_Finalize.
* Relicense Collabora code under the MIT/X11 license proposed for dbus core, ↵Simon McVittie2007-09-271-15/+18
| | | | removing all references to the LGPL as a result
* Actually commit the numerous copyright-statement changes.Simon McVittie2007-02-071-7/+7
|
* dbus, _dbus_bindings, _dbus_glib_bindings: remove accidentally duplicated ↵Simon McVittie2007-01-251-2/+0
| | | | lines in license statement
* Separate out remaining types (abstract, bytes, containers, int, float, ↵Simon McVittie2006-12-111-0/+157
signature, string) into separate translation units