File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -71,8 +71,10 @@ typedef struct _iop_device {
7171} iop_device_t ;
7272
7373#define IOMAN_RETURN_VALUE_IMPL (val ) \
74- static inline int my_ioman_retval_##val##_int(void) {return -val;}
74+ static inline int my_ioman_retval_##val##_int(void) {return -val;} \
75+ static inline signed long long my_ioman_retval_##val##_s64(void) {return -val;}
7576#define IOMAN_RETURN_VALUE (val ) ((void*)&my_ioman_retval_##val##_int)
77+ #define IOMAN_RETURN_VALUE_S64 (val ) ((void*)&my_ioman_retval_##val##_s64)
7678
7779typedef struct _iop_device_ops {
7880 int (* init )(iop_device_t * );
Original file line number Diff line number Diff line change @@ -73,8 +73,10 @@ typedef struct _iop_io_device {
7373} iop_io_device_t ;
7474
7575#define IOMAN_RETURN_VALUE_IMPL (val ) \
76- static inline int my_ioman_retval_##val##_int(void) {return -val;}
76+ static inline int my_ioman_retval_##val##_int(void) {return -val;} \
77+ static inline signed long long my_ioman_retval_##val##_s64(void) {return -val;}
7778#define IOMAN_RETURN_VALUE (val ) ((void*)&my_ioman_retval_##val##_int)
79+ #define IOMAN_RETURN_VALUE_S64 (val ) ((void*)&my_ioman_retval_##val##_s64)
7880
7981typedef struct _iop_io_device_ops {
8082 int (* io_init )(iop_io_device_t * );
You can’t perform that action at this time.
0 commit comments