Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[XForms] Small change in Form Designer code

0 views
Skip to first unread message

TG

unread,
Dec 27, 2015, 9:39:02 AM12/27/15
to xforms-de...@nongnu.org
Hello!

While inserting xforms code in C++ project, I figured that generated
header files have no C++ compiler hint as all the other xforms headers
have. So I copied some bits from forms.h.

fd_printC.c at line 179

fprintf(fn,
"\n#if defined __cplusplus\n"
"extern \"C\"\n"
"{\n"
"#endif\n");

and at line 212

fprintf(fn,
"\n#if defined __cplusplus\n"
"}\n"
"#endif\n");

That's work for me.

bye.
Thomas

Jens Thoms Toerring

unread,
Jan 3, 2016, 4:46:50 AM1/3/16
to hausm...@askja.de, Development with and of XForms
Hi Thomas,
That's indeed a good idea! Just added it. Thank you.

Have a nice new year and best regards, Jens
--
\ Jens Thoms Toerring ________ j...@toerring.de
\_______________________________ http://toerring.de

0 new messages