Re: Get gchar* from Glib::ustring



On Thu, 4 Jun 2009 10:05:21 +0200 (CEST)
Mark Roberts <gtkmm manumark de> wrote:
> Your arguments to g_build_filename() are pointers to characters. On a
> 32bit system a pointer is 32bit, on a 64bit system it is 64bit.
> "NULL" is a pointer to anything (therefore also 64bit on a 64bit
> system), while "0" is an integer, which might be 32bit on a 64bit
> system. Or it might not be.

No,  The point Daniel Elstner was making is that in C++ environments,
NULL is not conventionally defined as a pointer at all.



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