Skip to content

Commit 90ff64f

Browse files
authored
Fix C binding (#31)
1 parent ffd7374 commit 90ff64f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

assets/udbserver.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
#include <stdint.h>
22

3+
#ifdef __cplusplus
4+
extern "C" {
5+
#endif
6+
37
int32_t udbserver(void* handle, uint16_t port, uint64_t start_addr);
8+
9+
#ifdef __cplusplus
10+
}
11+
#endif

0 commit comments

Comments
 (0)