xforms-development
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XForms] Small change in Form Designer code


From: Jens Thoms Toerring
Subject: Re: [XForms] Small change in Form Designer code
Date: Sun, 3 Jan 2016 10:46:33 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hi Thomas,

On Sun, Dec 27, 2015 at 07:14:29AM +0100, TG wrote:
> 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.

That's indeed a good idea! Just added it. Thank you.

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]