On Thu, 2002-07-11 at 22:13, Yiqing Lee wrote:
> I have two question on gchar below:
>
> /*Question: do I have to allocate memory to new_string
> when it is declared?*/
> gchar *new_string;
> new_string = g_strconcat (search_web_uri, "foo",
> "baa", NULL);
>
> /*Question:is that ok since new_string is a pointer to
> gchar, not to char? */
> nautilus_window_go_to(window,new_string);
Yes, gchar is a typedef to char.
Peace,
Jim Cape
http://ignore-your.tv/
"No cause, no God, no abstract idea can justify the mass
slaughter of innocents."
-- Edward Said
Attachment:
signature.asc
Description: This is a digitally signed message part