comparison dyncallback/dyncall_callback.h @ 120:8a6111c2a84a

- minor callback cleanups
author cslag
date Mon, 04 Jul 2016 01:02:47 +0200
parents 3e629dc19168
children 49549739228c
comparison
equal deleted inserted replaced
119:f1cc11a9eb98 120:8a6111c2a84a
30 #include "dyncall_signature.h" 30 #include "dyncall_signature.h"
31 #include "dyncall_value.h" 31 #include "dyncall_value.h"
32 32
33 typedef struct DCCallback DCCallback; 33 typedef struct DCCallback DCCallback;
34 34
35 // TODO: return value is the type encoded as a signature char (character of the set [vBcCsSiIjJlLfd]). 35 // return value is the type encoded as a signature char (character of the set [vBcCsSiIjJlLfd]).
36
37 typedef char (DCCallbackHandler)(DCCallback* pcb, DCArgs* args, DCValue* result, void* userdata); 36 typedef char (DCCallbackHandler)(DCCallback* pcb, DCArgs* args, DCValue* result, void* userdata);
38 37
39 #ifdef __cplusplus 38 #ifdef __cplusplus
40 extern "C" { 39 extern "C" {
41 #endif 40 #endif