summaryrefslogtreecommitdiff
path: root/gi/pygi-cache.h
diff options
context:
space:
mode:
authorSimon Feltman <sfeltman@src.gnome.org>2013-10-11 20:12:01 -0700
committerSimon Feltman <sfeltman@src.gnome.org>2014-02-02 16:02:57 -0800
commitc1a2a86a7b51f4dc5a5da9f8808552c38acadf9d (patch)
tree82de923fdba9a8d3cb85631dd34b1b2c13118642 /gi/pygi-cache.h
parent4a6bf3be49cc5aec7287c41ec02c78d60df1d44c (diff)
downloadpygobject-c1a2a86a7b51f4dc5a5da9f8808552c38acadf9d.tar.gz
cache refactoring: Move basic type arg setup and marshaling into new file
Move all basic type arg caching and marshaling fragments into an isolated file where most functions are made static. pygi-basictype.h exposes: pygi_arg_basic_type_new_from_info, _pygi_marshal_from_py_basic_type, and _pygi_marshal_to_py_basic_type which allows continued use for all marshaling code paths. https://bugzilla.gnome.org/show_bug.cgi?id=709700
Diffstat (limited to 'gi/pygi-cache.h')
-rw-r--r--gi/pygi-cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gi/pygi-cache.h b/gi/pygi-cache.h
index e1b0649e..82e25197 100644
--- a/gi/pygi-cache.h
+++ b/gi/pygi-cache.h
@@ -211,6 +211,7 @@ pygi_arg_interface_setup (PyGIInterfaceCache *iface_cache,
PyGIDirection direction,
GIInterfaceInfo *iface_info);
+PyGIArgCache * _arg_cache_alloc (void);
PyGIArgCache * _arg_cache_new (GITypeInfo *type_info,
GIArgInfo *arg_info,
GITransfer transfer,