diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2016-08-25 22:22:07 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2016-08-25 22:33:02 +0200 |
commit | 40589f25f90c4863cfe2787b72629aa0a8cda082 (patch) | |
tree | 8b6df444bb1f898614e3e57db27accb71136b911 /libsigrokdecode-internal.h | |
parent | e959f49ac718b45d83304f626559de29403ac52f (diff) | |
download | libsigrokdecode-40589f25f90c4863cfe2787b72629aa0a8cda082.tar.gz libsigrokdecode-40589f25f90c4863cfe2787b72629aa0a8cda082.zip |
Factor out srd_decoder_apiver().
Diffstat (limited to 'libsigrokdecode-internal.h')
-rw-r--r-- | libsigrokdecode-internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libsigrokdecode-internal.h b/libsigrokdecode-internal.h index d32414a..8259b97 100644 --- a/libsigrokdecode-internal.h +++ b/libsigrokdecode-internal.h @@ -86,6 +86,9 @@ SRD_PRIV int srd_log(int loglevel, const char *format, ...) G_GNUC_PRINTF(2, 3); #define srd_warn(...) srd_log(SRD_LOG_WARN, __VA_ARGS__) #define srd_err(...) srd_log(SRD_LOG_ERR, __VA_ARGS__) +/* decoder.c */ +SRD_PRIV long srd_decoder_apiver(const struct srd_decoder *d); + /* type_decoder.c */ SRD_PRIV PyObject *srd_Decoder_type_new(void); |