Re: [xml] xmlChar * to char *
- From: Daniel Veillard <veillard redhat com>
- To: dmorriso eagle7 org
- Cc: xml gnome org
- Subject: Re: [xml] xmlChar * to char *
- Date: Fri, 16 Dec 2005 02:59:16 -0500
On Thu, Dec 15, 2005 at 07:48:53PM -0700, Dan Morrison wrote:
I know you can use the BAD_CAST macro to cast from a normal char * to
an xmlChar *. Is there a preferred method (other than a (char *)
cast) to move in the other direction? I don't see any xmlChar* to
char* cast or strcpy in the xmlstring library.
an xmlChar * has a stricter semantic than char *, that's why
there is a macro to do this in one direction and not in the other one.
Daniel
--
Daniel Veillard | Red Hat http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]