diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-02-06 17:23:14 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-02-06 17:23:14 -0500 |
commit | ff07ea135b8e9cc21f56681df1fc608b195a70f8 (patch) | |
tree | 1df72499461eb8cb7681a5c400db0836d37827b0 /gpspacket.c | |
parent | 118aea82f4879261a9dd194e39ea8736e3295b49 (diff) | |
download | gpsd-ff07ea135b8e9cc21f56681df1fc608b195a70f8.tar.gz |
Make PACKET_TYPES available in the Python interface.
Diffstat (limited to 'gpspacket.c')
-rw-r--r-- | gpspacket.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gpspacket.c b/gpspacket.c index 7e8aa271..0f4311a0 100644 --- a/gpspacket.c +++ b/gpspacket.c @@ -286,6 +286,7 @@ initpacket(void) PyModule_AddIntConstant(m, "RTCM2_PACKET", RTCM2_PACKET); PyModule_AddIntConstant(m, "RTCM3_PACKET", RTCM3_PACKET); PyModule_AddIntConstant(m, "JSON_PACKET", JSON_PACKET); + PyModule_AddIntConstant(m, "PACKET_TYPES", PACKET_TYPES); PyModule_AddIntConstant(m, "LOG_ERROR", LOG_ERROR); PyModule_AddIntConstant(m, "LOG_SHOUT", LOG_SHOUT); |