Re: [patch] additional functionality for Python backend
Kalle Olavi Niemitalo <[email protected]>
| Newsgroups | gmane.comp.web.links |
|---|---|
| Message-ID | <[email protected]> |
"M. Levinson" <[email protected]> writes: > +static char python_info_box_doc[] = \ > +PYTHON_DOCSTRING("info_box(text[, title]) -> None\n\ The backslash after the equals sign looks unnecessary, although it shouldn't hurt either. (I didn't check whether elinks_maint.py uses it for something.) > +#ifndef CONFIG_SMALL > +#define PYTHON_DOCSTRING(str) (str) > +#else > +#define PYTHON_DOCSTRING(str) ("") > +#endif Please remove the parentheses from the macro. static char python_info_box_doc[] = (""); is not standard C and is not accepted by Tiny C Compiler 0.9.23. (IIRC, the Intel C Compiler was changed to accept it, for compatibility with source code written for GCC.) _______________________________________________ elinks-dev mailing list [email protected] http://linuxfromscratch.org/mailman/listinfo/elinks-dev
signature.asc
(application/pgp-signature, 188 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFFFWJFHm9IGt60eMgRAoqsAJ9bVtkSOlWJNwWPTmSY1fNGtRu9EACgm8Px qth3q+4SaYDEwo/7DSu3k7k= =dmPg -----END PGP SIGNATURE-----