summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/reed-solomon/fixed.h
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-07-20 18:38:36 -0700
committerJosh Blum <josh@joshknows.com>2011-07-20 18:38:36 -0700
commitf914499f4a96fe69ab9cd8dba48f8e3bfc7a54e5 (patch)
tree14287905b65ded74112b7baaf4ed5cd4bfe028d9 /gnuradio-core/src/lib/reed-solomon/fixed.h
parent1e1798393381fe7472a7cdb5b2c3c90d7ae753fb (diff)
core: API declaration macros for core class and function symbols
Diffstat (limited to 'gnuradio-core/src/lib/reed-solomon/fixed.h')
-rw-r--r--gnuradio-core/src/lib/reed-solomon/fixed.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnuradio-core/src/lib/reed-solomon/fixed.h b/gnuradio-core/src/lib/reed-solomon/fixed.h
index 9f0ddd9a4d..30091e7bf3 100644
--- a/gnuradio-core/src/lib/reed-solomon/fixed.h
+++ b/gnuradio-core/src/lib/reed-solomon/fixed.h
@@ -7,6 +7,8 @@
*/
#define DTYPE unsigned char
+#include <gr_core_api.h>
+
static inline int mod255(int x){
while (x >= 255) {
x -= 255;
@@ -34,5 +36,5 @@ extern unsigned char CCSDS_poly[];
#define ENCODE_RS encode_rs_8
#define DECODE_RS decode_rs_8
-void ENCODE_RS(DTYPE *data,DTYPE *parity);
-int DECODE_RS(DTYPE *data, int *eras_pos, int no_eras);
+GR_CORE_API void ENCODE_RS(DTYPE *data,DTYPE *parity);
+GR_CORE_API int DECODE_RS(DTYPE *data, int *eras_pos, int no_eras); \ No newline at end of file