Added documentation and planes field to wmudPlanet

Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
This commit is contained in:
Polonkai Gergely 2012-03-29 18:26:19 +00:00
parent fddfb4b594
commit 8835cb258b

View File

@ -34,9 +34,18 @@ typedef struct _wmudPlane {
gchar *name; gchar *name;
} wmudPlane; } wmudPlane;
/**
* wmudPlanet:
* @id: The database ID of the planet
* @name: The name of the planet
* @planes: A #GSList of planes this planet is connected to. The data of this
* list should never be freed, only the #GSList itself with
* g_slist_free()
*/
typedef struct _wmudPlanet { typedef struct _wmudPlanet {
guint id; guint id;
gchar *name; gchar *name;
GSList *planes;
} wmudPlanet; } wmudPlanet;
typedef struct _wmudArea { typedef struct _wmudArea {