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 /type_logic.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 'type_logic.c')
-rw-r--r-- | type_logic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/type_logic.c b/type_logic.c index ebe81e3..5e499f4 100644 --- a/type_logic.c +++ b/type_logic.c @@ -22,12 +22,12 @@ #include <inttypes.h> #include <string.h> -PyObject *srd_logic_iter(PyObject *self) +static PyObject *srd_logic_iter(PyObject *self) { return self; } -PyObject *srd_logic_iternext(PyObject *self) +static PyObject *srd_logic_iternext(PyObject *self) { int i; PyObject *py_samplenum, *py_samples; @@ -66,7 +66,7 @@ PyObject *srd_logic_iternext(PyObject *self) return logic->sample; } -PyTypeObject srd_logic_type = { +SRD_PRIV PyTypeObject srd_logic_type = { PyVarObject_HEAD_INIT(NULL, 0) .tp_name = "srd_logic", .tp_basicsize = sizeof(srd_logic), |