Handle pointer types Now that gobject-introspection pairs G_TYPE_POINTER types with their type registration function, we need to handle the case in which we are passed a pointer to a record that inherits from G_TYPE_POINTER. Since these types are basically plain pointers, we can reuse the sv_to_struct and struct_to_sv functions we use for untyped structures.