1 /* -*- Mode: C; c-basic-offset: 4 -*-
2 * vim: tabstop=4 shiftwidth=4 expandtab
4 * Copyright (C) 2014 Simon Feltman <sfeltman@gnome.org>
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
20 #ifndef __PYGI_ARG_BASICTYPE_H__
21 #define __PYGI_ARG_BASICTYPE_H__
23 #include <girepository.h>
24 #include "pygi-cache.h"
28 gboolean
_pygi_marshal_from_py_basic_type (PyObject
*object
, /* in */
29 GIArgument
*arg
, /* out */
32 gpointer
*cleanup_data
);
33 gboolean
_pygi_marshal_from_py_basic_type_cache_adapter (PyGIInvokeState
*state
,
34 PyGICallableCache
*callable_cache
,
35 PyGIArgCache
*arg_cache
,
38 gpointer
*cleanup_data
);
40 PyObject
*_pygi_marshal_to_py_basic_type (GIArgument
*arg
, /* in */
43 PyObject
*_pygi_marshal_to_py_basic_type_cache_adapter (PyGIInvokeState
*state
,
44 PyGICallableCache
*callable_cache
,
45 PyGIArgCache
*arg_cache
,
48 PyGIArgCache
*pygi_arg_basic_type_new_from_info (GITypeInfo
*type_info
,
49 GIArgInfo
*arg_info
, /* may be null */
51 PyGIDirection direction
);
54 #endif /*__PYGI_ARG_BASICTYPE_H__*/