From 55c3c5f4b9d38b85fae2c39a8a6150b4c50b1bdb Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 9 Feb 2012 19:11:53 +0100 Subject: srd: Add/use SRD_API/SRD_PRIV macros. This is not yet finished, more things should be made private. --- module_sigrokdecode.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'module_sigrokdecode.c') 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; -- cgit v1.2.3-70-g09d2