question on g_strconcat
- From: Yiqing Lee <yiqingl2002 yahoo com>
- To: nautilus-list <nautilus-list gnome org>
- Subject: question on g_strconcat
- Date: Thu, 11 Jul 2002 20:33:00 -0700 (PDT)
I just read an example in tutorial about g_strconcat.
static void
foo(char *string)
{
char *file;
file = g_strconcat("/some/path/", string,
".txt", NULL);
...
g_free(file);
}
But when I try to pass a character array pointer as a
parameter, I got a error message in compiling process
saying:
'incompatible type'. Why?
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]