sccn / liblsl

C++ lsl library for multi-modal time-synched data transmission over the local network
Other
108 stars 63 forks source link

Update lsl_c.h #50

Closed phfix closed 4 years ago

phfix commented 4 years ago

I tried to generate the go bindings using the swig definition files. Swig complains about the line

define LIBLSL_COMPILE_HEADER_VERSION = 113;

More I get two errors using the swig compiler.
This patch corrects the warning ../liblsl/include/lsl_c.h:137: Warning 305: Bad constant value (ignored).

ubuntu:~/liblsl-Generic$ swig -go -cgo -intgosize 64 liblsl_c.i ../liblsl/include/lsl_c.h:137: Warning 305: Bad constant value (ignored). ../liblsl/include/lsl_c.h:148: Error: Syntax error in input(1).