6 #include <gnumeric-config.h>
9 #include <goffice/goffice.h>
10 #include <gnm-plugin.h>
12 #include "perl-loader.h"
14 static GSList
*stuff_to_free
;
16 GNM_PLUGIN_MODULE_HEADER
;
19 gnm_perl_loader_free_later (gconstpointer data
)
21 stuff_to_free
= g_slist_prepend (stuff_to_free
, (gpointer
)data
);
24 GType
perl_get_loader_type (GOErrorInfo
**ret_error
);
27 perl_get_loader_type (GOErrorInfo
**ret_error
)
29 GO_INIT_RET_ERROR_INFO (ret_error
);
30 return gnm_perl_plugin_loader_get_type ();
34 go_plugin_shutdown (GOPlugin
*plugin
, GOCmdContext
*cc
)
36 g_slist_free_full (stuff_to_free
, g_free
);
41 go_plugin_init (GOPlugin
*plugin
, GOCmdContext
*cc
)
43 GTypeModule
*module
= go_plugin_get_type_module (plugin
);
44 gnm_perl_plugin_loader_register_type (module
);