Update Function Object interface
to make interface trivially copiable There is no need to perform a copy-protected type as there is no init/clear for this type. It is always created through an instance.
This commit is contained in:
1 parent
15492394ad
commit
7bf3ea3a87
3 files changed
+9
-5
No files matched your search
+2
-2
@@ -156,7 +156,7 @@
|
||||
\
|
||||
typedef struct M_F(name, _s) { \
|
||||
M_F(name, _callback_ct) callback; \
|
||||
} interface_t[1]; \
|
||||
} *interface_t; \
|
||||
\
|
||||
/* Internal type for oplist & instance */ \
|
||||
typedef interface_t M_F(name, _ct); \
|
||||
@@ -192,7 +192,7 @@
|
||||
\
|
||||
typedef struct M_F(name, _s) { \
|
||||
M_F(name, _callback_ct) callback; \
|
||||
} interface_t[1]; \
|
||||
} *interface_t; \
|
||||
\
|
||||
/* Internal type for oplist & instance */ \
|
||||
typedef interface_t M_F(name, _ct); \
|
||||
|
||||
Reference in new issue
Block a user