diff options
author | TizenOpenSource <tizenopensrc@samsung.com> | 2023-12-08 13:16:12 +0900 |
---|---|---|
committer | TizenOpenSource <tizenopensrc@samsung.com> | 2023-12-08 13:16:12 +0900 |
commit | 454aa52f950f2348756dfffc9c26fb74d4aa3bef (patch) | |
tree | 4e8be3f8c8218dbafe65e22dfc73e9351c1d5bbb /gi/pygi-boxed.h | |
parent | f3eae5a895fc60cb99c0c366bdd011018ce3bc7b (diff) | |
download | pygobject2-454aa52f950f2348756dfffc9c26fb74d4aa3bef.tar.gz pygobject2-454aa52f950f2348756dfffc9c26fb74d4aa3bef.tar.bz2 pygobject2-454aa52f950f2348756dfffc9c26fb74d4aa3bef.zip |
Imported Upstream version 3.46.0upstream/3.46.0
Diffstat (limited to 'gi/pygi-boxed.h')
-rw-r--r-- | gi/pygi-boxed.h | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/gi/pygi-boxed.h b/gi/pygi-boxed.h index 38ac928..18c4448 100644 --- a/gi/pygi-boxed.h +++ b/gi/pygi-boxed.h @@ -14,29 +14,32 @@ * 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, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 - * USA + * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ #ifndef __PYGI_BOXED_H__ #define __PYGI_BOXED_H__ #include <Python.h> +#include <girepository.h> +#include "pygobject-internal.h" G_BEGIN_DECLS +typedef struct _PyGIBoxed PyGIBoxed; + extern PyTypeObject PyGIBoxed_Type; -PyObject * _pygi_boxed_new (PyTypeObject *type, - gpointer boxed, - gboolean free_on_dealloc, - gsize allocated_slice); +PyObject * pygi_boxed_new (PyTypeObject *type, + gpointer boxed, + gboolean free_on_dealloc, + gsize allocated_slice); + +void * pygi_boxed_alloc (GIBaseInfo *info, gsize *size); -void * _pygi_boxed_alloc (GIBaseInfo *info, - gsize *size); +void pygi_boxed_copy_in_place (PyGIBoxed *self); -void _pygi_boxed_register_types (PyObject *m); +int pygi_boxed_register_types (PyObject *m); G_END_DECLS |