From 0f3a96339915688ec97f611ff2e8ce72841407bc Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Mon, 4 Jan 2010 09:13:39 +0000 Subject: Bindings python: in wrapper_top.c, mark internal function as potentially unused --- bindings/python/wrapper_top.c | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'bindings/python') diff --git a/bindings/python/wrapper_top.c b/bindings/python/wrapper_top.c index 4de78737..e1256d85 100644 --- a/bindings/python/wrapper_top.c +++ b/bindings/python/wrapper_top.c @@ -15,19 +15,20 @@ typedef int Py_ssize_t; GQuark lasso_wrapper_key; PyMODINIT_FUNC init_lasso(void); -static PyObject* get_pystring_from_xml_node(xmlNode *xmlnode); -static xmlNode* get_xml_node_from_pystring(PyObject *string); -static PyObject* get_dict_from_hashtable_of_objects(GHashTable *value); -static PyObject* PyGObjectPtr_New(GObject *obj); -static void set_hashtable_of_pygobject(GHashTable *a_hash, PyObject *dict); -static void set_list_of_strings(GList **a_list, PyObject *seq); -static void set_list_of_xml_nodes(GList **a_list, PyObject *seq); -static void set_list_of_pygobject(GList **a_list, PyObject *seq); -static PyObject *get_list_of_strings(const GList *a_list); -static PyObject *get_list_of_xml_nodes(const GList *a_list); -static PyObject *get_list_of_pygobject(const GList *a_list); -static gboolean valid_seq(PyObject *seq); -static void free_list(GList **a_list, GFunc free_help); +G_GNUC_UNUSED static PyObject* get_pystring_from_xml_node(xmlNode *xmlnode); +G_GNUC_UNUSED static xmlNode* get_xml_node_from_pystring(PyObject *string); +G_GNUC_UNUSED static PyObject* get_dict_from_hashtable_of_objects(GHashTable *value); +G_GNUC_UNUSED static PyObject* PyGObjectPtr_New(GObject *obj); +G_GNUC_UNUSED static void set_hashtable_of_pygobject(GHashTable *a_hash, PyObject *dict); +G_GNUC_UNUSED static void set_list_of_strings(GList **a_list, PyObject *seq); +G_GNUC_UNUSED static void set_list_of_xml_nodes(GList **a_list, PyObject *seq); +G_GNUC_UNUSED static void set_list_of_pygobject(GList **a_list, PyObject *seq); +G_GNUC_UNUSED static PyObject *get_list_of_strings(const GList *a_list); +G_GNUC_UNUSED static PyObject *get_list_of_xml_nodes(const GList *a_list); +G_GNUC_UNUSED static PyObject *get_list_of_pygobject(const GList *a_list); +G_GNUC_UNUSED static gboolean valid_seq(PyObject *seq); +G_GNUC_UNUSED static void free_list(GList **a_list, GFunc free_help); +G_GNUC_UNUSED static time_t* get_time_t(PyObject *time); typedef struct { PyObject_HEAD -- cgit