From 40589f25f90c4863cfe2787b72629aa0a8cda082 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 25 Aug 2016 22:22:07 +0200 Subject: Factor out srd_decoder_apiver(). --- libsigrokdecode-internal.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libsigrokdecode-internal.h') 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); -- cgit v1.2.3-70-g09d2