How to use G_CONST_RETURN?
Yoichi Imai <[email protected]> Sun, 26 Dec 2004 14:20:44 +0900
| Newsgroups | gmane.comp.gnome.devtools.gob.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I tried to use G_CONST_RETURN for the type of return value,
but an error occured.
loqui-style-entry.gob:85: Error: syntax error before '*'
The code is here:
public G_CONST_RETURN gchar *get_string(self) {
return self->color_string;
}
G_CONST_RETURN is useful to clarify that the value need not be freed.
--
Yoichi Imai <[email protected]>
--
to unsubscribe:
send mail to [email protected] with "unsubscribe gob-list" in the subject