]> git.pld-linux.org Git - packages/ORBit2.git/blame - ORBit2-idl-gtk-doc.patch
- added idl-gtk-doc patch (adjust orbit-idl-2 to generate code parsable by current...
[packages/ORBit2.git] / ORBit2-idl-gtk-doc.patch
CommitLineData
b6e63ec9
JB
1--- ORBit2-2.14.19/src/idl-compiler/orbit-idl-c-headers.c.orig 2010-02-09 13:05:35.000000000 +0100
2+++ ORBit2-2.14.19/src/idl-compiler/orbit-idl-c-headers.c 2021-03-12 20:48:55.042479965 +0100
3@@ -634,7 +634,7 @@
4
5 ctmp = orbit_cbe_get_typespec_str(tree);
6 fprintf(ci->fh,
7- "typedef struct { CORBA_unsigned_short _digits; CORBA_short _scale; CORBA_char _value[%d]; } %s;\n",
8+ "typedef struct {\n CORBA_unsigned_short _digits;\n CORBA_short _scale;\n CORBA_char _value[%d];\n} %s;\n",
9 (int) (IDL_INTEGER(IDL_TYPE_FIXED(tree).positive_int_const).value + 2)/2,
10 ctmp);
11 g_free(ctmp);
12@@ -714,9 +714,9 @@
13
14 fprintf(ci->fh, "#if !defined(_%s_defined)\n#define _%s_defined 1\n",
15 fullname, fullname);
16- fprintf(ci->fh, "typedef struct { CORBA_unsigned_long _maximum, _length; ");
17+ fprintf(ci->fh, "typedef struct {\n CORBA_unsigned_long _maximum, _length;\n ");
18 orbit_cbe_write_typespec(ci->fh, IDL_TYPE_SEQUENCE(tree).simple_type_spec);
19- fprintf(ci->fh, "* _buffer; CORBA_boolean _release; } ");
20+ fprintf(ci->fh, "* _buffer;\n CORBA_boolean _release;\n} ");
21 orbit_cbe_write_typespec(ci->fh, tree);
22 fprintf(ci->fh, ";\n#endif\n");
23 ch_type_alloc_and_tc(tree, rinfo, ci, TRUE);
This page took 0.0336 seconds and 4 git commands to generate.