projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
fix type discovery
[m6w6/ext-psi]
/
src
/
libjit.c
diff --git
a/src/libjit.c
b/src/libjit.c
index 8a766f33ca2a8d59c801e9cd35f28c3ebd8a7923..273c47890818a95cf16770f5d4fd124dbc391bcf 100644
(file)
--- a/
src/libjit.c
+++ b/
src/libjit.c
@@
-42,6
+42,8
@@
static inline jit_type_t psi_jit_token_type(token_t t) {
return jit_type_sys_float;
case PSI_T_DOUBLE:
return jit_type_sys_double;
+ case PSI_T_POINTER:
+ return jit_type_void_ptr;
EMPTY_SWITCH_DEFAULT_CASE();
}
}