Re: [xml] libxml2 and c++ bindings
- From: "Andrew W. Nosenko" <andrew w nosenko gmail com>
- To: "Senthil Nathan" <rsennat gmail com>
- Cc: xml gnome org
- Subject: Re: [xml] libxml2 and c++ bindings
- Date: Mon, 3 Sep 2007 16:50:14 +0300
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.
--
Andrew W. Nosenko <andrew w nosenko gmail com>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]