From: Michal Sojka Date: Fri, 17 Oct 2008 10:35:39 +0000 (+0200) Subject: forb-idl: Sequences of native types are supported now X-Git-Url: https://rtime.felk.cvut.cz/gitweb/frescor/forb.git/commitdiff_plain/108647d5db7b2160a01e2b59786f95a0ddd17a00 forb-idl: Sequences of native types are supported now --- diff --git a/forb-idl/forb-idl-c-utils.c b/forb-idl/forb-idl-c-utils.c index bcfb182..f05b846 100644 --- a/forb-idl/forb-idl-c-utils.c +++ b/forb-idl/forb-idl-c-utils.c @@ -104,7 +104,6 @@ forb_cbe_type_is_builtin(IDL_tree tree) case IDLN_LIST: case IDLN_GENTREE: case IDLN_MEMBER: - case IDLN_NATIVE: case IDLN_CASE_STMT: case IDLN_MODULE: case IDLN_BINOP: @@ -148,6 +147,7 @@ forb_cbe_type_is_builtin(IDL_tree tree) case IDLN_IDENT: case IDLN_INTERFACE: case IDLN_FORWARD_DCL: + case IDLN_NATIVE: default: return FALSE; break; @@ -259,7 +259,7 @@ forb_cbe_get_typespec_str(IDL_tree tree) } break; case IDLN_NATIVE: - retval = "gpointer"; /* FIXME: */ + retval = forb_cbe_get_typespec_str(IDL_NATIVE(tree).ident); break; case IDLN_FORWARD_DCL: case IDLN_INTERFACE: