Zbigniew Jędrzejewski-Szmek
73f860db98
Always prefer our headers to system headers
...
In practice this shouldn't make much difference, but
sometimes our headers might be newer, and we want to
test them.
2014-07-31 08:56:03 -04:00
Lennart Poettering
f0f2e63bb2
macro: introduce nice macro for disabling -Wmissing-prototypes warnigs
2014-02-20 18:47:33 +01:00
Zbigniew Jędrzejewski-Szmek
5afbe712db
systemd-python: add __version__ strings
2013-05-08 21:34:44 -04:00
Harald Hoyer
7fd1b19bc9
move _cleanup_ attribute in front of the type
...
http://lists.freedesktop.org/archives/systemd-devel/2013-April/010510.html
2013-04-18 09:11:22 +02:00
Zbigniew Jędrzejewski-Szmek
4750fade13
Remove some unused variables
2013-03-20 19:16:01 -04:00
Zbigniew Jędrzejewski-Szmek
ab3a162c01
systemd-python: small cleanups
...
- separate methods with two empty lines for clarity
- avoid malloc(0) by specyfing private data size as -1
- add method name in error messages
2013-03-19 21:50:43 -04:00
Zbigniew Jędrzejewski-Szmek
6a6633a16a
python-systemd: check all errors and use automatic cleanup
...
__REALTIME_TIMESTAMP and __MONOTONIC_TIMESTAMP return ints.
It doesn't make sense to convert to string, just to convert
back to a number later on.
Also try to follow systemd rules for indentation.
2013-02-28 20:04:17 -05:00
Zbigniew Jędrzejewski-Szmek
a244c095c2
systemd-python: use PyModule_AddObject in id128
2013-02-28 20:04:17 -05:00
Zbigniew Jędrzejewski-Szmek
2c07646764
systemd-python: polish the docstrings
2013-02-28 19:36:14 -05:00
Zbigniew Jędrzejewski-Szmek
927e96326c
python: add systemd.id128 module
...
uuid.UUIDs are utilized to hold UUID values.
2013-02-22 16:57:43 +01:00