diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2012-02-09 19:11:53 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2012-02-10 09:30:41 +0100 |
commit | 55c3c5f4b9d38b85fae2c39a8a6150b4c50b1bdb (patch) | |
tree | 57b4c8a136f98d6f5beb7270a38299b45c1f03ab /module_sigrokdecode.c | |
parent | c9bfccc6347e05e6faba6f27fe0e50a7d55f531c (diff) | |
download | libsigrokdecode-55c3c5f4b9d38b85fae2c39a8a6150b4c50b1bdb.tar.gz libsigrokdecode-55c3c5f4b9d38b85fae2c39a8a6150b4c50b1bdb.zip |
srd: Add/use SRD_API/SRD_PRIV macros.
This is not yet finished, more things should be made private.
Diffstat (limited to 'module_sigrokdecode.c')
-rw-r--r-- | module_sigrokdecode.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module_sigrokdecode.c b/module_sigrokdecode.c index 0992ea2..1cbcc40 100644 --- a/module_sigrokdecode.c +++ b/module_sigrokdecode.c @@ -22,16 +22,16 @@ #include "config.h" /* type_decoder.c */ -extern PyTypeObject srd_Decoder_type; +extern SRD_PRIV PyTypeObject srd_Decoder_type; /* type_logic.c */ -extern PyTypeObject srd_logic_type; +extern SRD_PRIV PyTypeObject srd_logic_type; /* * When initialized, a reference to this module inside the python interpreter * lives here. */ -PyObject *mod_sigrokdecode = NULL; +SRD_PRIV PyObject *mod_sigrokdecode = NULL; static struct PyModuleDef sigrokdecode_module = { PyModuleDef_HEAD_INIT, @@ -40,7 +40,7 @@ static struct PyModuleDef sigrokdecode_module = { .m_size = -1, }; -PyMODINIT_FUNC PyInit_sigrokdecode(void) +SRD_PRIV PyMODINIT_FUNC PyInit_sigrokdecode(void) { PyObject *mod; |