Made GsweAspectInfo a refcounted boxed type

This is to satisfy #7
This commit is contained in:
2013-09-30 21:31:21 +02:00
parent dcd58b5dd1
commit 7564183aa2
5 changed files with 176 additions and 54 deletions

View File

@@ -40,10 +40,10 @@ struct _GsweAspectInfo {
/* shows whether this aspect is major (Ptolemaic) or not */
gboolean major;
};
void gswe_aspect_info_free(GsweAspectInfo *aspect_info);
GsweAspectInfo *gswe_aspect_info_copy(GsweAspectInfo *aspect_info);
/** reference count */
guint refcount;
};
#endif /* __SWE_GLIB_GSWE_ASPECT_INFO_PRIVATE_H__ */
#else /* not defined __SWE_GLIB_BUILDING__ */