Re: [gtk-list] ANNOUNCE: C++ wrapper for glib (sorta)
- From: Some Guy <guy mikepery pr mcs net>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] ANNOUNCE: C++ wrapper for glib (sorta)
- Date: Mon, 8 Jun 1998 23:37:10 -0500 (CDT)
Whoops, sorry. I posted the broken hdr and src files.
> G_List.h (only part):
> class G_List {
> GList *pobj
> public:
> GList* alloc(void);
> void free(GList *list);
> void free_1(GList *list);
> GList* append(GList *list, gpointer data);
> GList* prepend(GList *list, gpointer data);
> ...
should be
GList* alloc(void);
void free(void);
void free_1(void);
GList* append(gpointer data);
GList* prepend(gpointer data);
G_List.cc (only part):
GList* G_List::alloc(void)
{ return g_list_alloc(); }
void G_List::free(void)
{ g_list_free(pobj); }
void G_List::free_1(void)
{ g_list_free_1(pobj); }
GList* G_List::append(gpointer data)
{ return g_list_append(pobj, data); }
GList* G_List::prepend(gpointer data)
{ return g_list_prepend(pobj, data); }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]