projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
passing structs
[m6w6/ext-psi]
/
src
/
parser.h
diff --git
a/src/parser.h
b/src/parser.h
index b27fdafccbe96ec22286b64f83f3d39b117267a1..29bf9d326ce17727b66bd18969c9d774110de184 100644
(file)
--- a/
src/parser.h
+++ b/
src/parser.h
@@
-377,6
+377,10
@@
typedef struct decl_struct {
char *name;
decl_args *args;
size_t size;
+ struct {
+ void *type;
+ void (*dtor)(void *type);
+ } engine;
} decl_struct;
static inline decl_struct *init_decl_struct(const char *name, decl_args *args) {