More question on gchar
- From: Yiqing Lee <yiqingl2002 yahoo com>
- To: gnome-love <gnome-love gnome org>, nautilus-list <nautilus-list gnome org>
- Subject: More question on gchar
- Date: Thu, 11 Jul 2002 20:13:46 -0700 (PDT)
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);
-----------------
Function is:
nautilus_window_go_to (NautilusWindow *window, char
*search_web_uri)
{
.............
}
Thanks
Yiqing Lee
__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]