glib2: define types for mark/free