]> rtime.felk.cvut.cz Git - frescor/forb.git/commitdiff
Get compilable output for sequences of a typedeffed type
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 24 Jun 2010 22:38:26 +0000 (00:38 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 24 Jun 2010 22:38:26 +0000 (00:38 +0200)
This change is a workaround rather than a real fix. This way be generate
unnecessarily more [de]serialization functions even if they do the same
as the function of the original type.

forb-idl/forb-idl-c-headers.c

index 84375fab4af434d307f93cd5c00a3ec7f0e49454..6bb62b536af3276558d7714c308c6b93e1ff6a80 100644 (file)
@@ -781,7 +781,7 @@ ch_prep_sequence(IDL_tree tree, OIDL_Run_Info *rinfo, OIDL_C_Info *ci)
       g_free(ctmp2);
       ctmp2 = g_strdup("CORBA_Object");
     }
-  separate_defs = strcmp(ctmp, ctmp2);
+  separate_defs = false; //strcmp(ctmp, ctmp2);
   fullname = forb_cbe_get_typespec_str(tree);
   //printf("YYY %s\n", fullname);