projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Include string encoding in string_t.
[cparser]
/
wrappergen
/
write_jna.c
diff --git
a/wrappergen/write_jna.c
b/wrappergen/write_jna.c
index
c5735f8
..
d681f47
100644
(file)
--- a/
wrappergen/write_jna.c
+++ b/
wrappergen/write_jna.c
@@
-308,8
+308,6
@@
static void write_expression(const expression_t *expression)
/* TODO */
switch(expression->kind) {
case EXPR_LITERAL_INTEGER:
/* TODO */
switch(expression->kind) {
case EXPR_LITERAL_INTEGER:
- case EXPR_LITERAL_INTEGER_HEXADECIMAL:
- case EXPR_LITERAL_INTEGER_OCTAL:
fprintf(out, "%s", expression->literal.value.begin);
break;
fprintf(out, "%s", expression->literal.value.begin);
break;
@@
-519,8
+517,7
@@
void write_jna_decls(FILE *output, const translation_unit_t *unit)
}
#if 0
}
#if 0
- if(type->kind == TYPE_COMPOUND_STRUCT
- || type->kind == TYPE_COMPOUND_UNION) {
+ if (is_type_compound(type)) {
write_compound(entity->base.symbol, &type->compound);
}
#endif
write_compound(entity->base.symbol, &type->compound);
}
#endif