xforms-development
[Top][All Lists]
Advanced

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

[XForms] Small change in Form Designer code


From: TG
Subject: [XForms] Small change in Form Designer code
Date: Sun, 27 Dec 2015 07:14:29 +0100
User-agent: Askja Roundcube Webmail/0.7.2

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



reply via email to

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