summaryrefslogtreecommitdiff
path: root/gi/pygi-value.h
diff options
context:
space:
mode:
authorSimon Feltman <sfeltman@src.gnome.org>2014-01-12 11:41:20 -0800
committerSimon Feltman <sfeltman@src.gnome.org>2014-02-02 16:02:57 -0800
commitb8120d848dc5d36832123b1a913015f6e1fd8cdc (patch)
treeec7f00249805fd940b8776aac7347a2c813b8beb /gi/pygi-value.h
parentc2d5857e9b964427190e1230be32ae7919e86bc0 (diff)
downloadpygobject-b8120d848dc5d36832123b1a913015f6e1fd8cdc.tar.gz
marshal refactoring: Move GIArgument from GValue code to new file
Add gi/pygi-value.h and .c files with initial contents of _pygi_argument_from_g_value. Eventually this file will contain all code related to GValue marshaling from various code locations in the project. https://bugzilla.gnome.org/show_bug.cgi?id=709700
Diffstat (limited to 'gi/pygi-value.h')
-rw-r--r--gi/pygi-value.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/gi/pygi-value.h b/gi/pygi-value.h
new file mode 100644
index 00000000..3e8d46a1
--- /dev/null
+++ b/gi/pygi-value.h
@@ -0,0 +1,32 @@
+/* -*- Mode: C; c-basic-offset: 4 -*-
+ * vim: tabstop=4 shiftwidth=4 expandtab
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef __PYGI_VALUE_H__
+#define __PYGI_VALUE_H__
+
+#include <glib-object.h>
+#include <girepository.h>
+
+G_BEGIN_DECLS
+
+GIArgument _pygi_argument_from_g_value(const GValue *value,
+ GITypeInfo *type_info);
+
+
+G_END_DECLS
+
+#endif /* __PYGI_VALUE_H__ */