Re: [xml] libxml2 and c++ bindings
- From: "Senthil Nathan" <rsennat gmail com>
- To: "Andrew W. Nosenko" <andrew w nosenko gmail com>
- Cc: xml gnome org
- Subject: Re: [xml] libxml2 and c++ bindings
- Date: Mon, 3 Sep 2007 19:34:33 +0530
On 9/3/07, Senthil Nathan <rsennat gmail com> wrote:
> So, just thinking is it possible to link LIBXML2 C libraries with my C++
> programs,
> as we normally link c files with c++ using the preprocessor directive,
> "__cplusplus" and defining as extern "C".
Yes, you can. Without any problems.
BTW, libxml2 headers already have
#ifdef __cplusplus
extern "C" {
#endif
magic for you.
Thanks. Just checked the headers.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]