mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
Rearrange internal header files.
This commit rearranges the internal header files. "src/guestfs-internal.h" is just for the library, as before. "src/guestfs-internal-frontend.h" is for use by all library, bindings, tools C code, but NOT the daemon. "src/guestfs-internal-all.h" is for use by all C code including the daemon. This is just code motion, but it has some important consequences: (1) We can use the CLEANUP_* macros in bindings and tools code. (2) We can get rid of TMP_TEMPLATE_ON_STACK. (3) We will (in future) be able to stop bindings and tools code from using the safe_* allocation functions (which are NOT safe to use outside the library alone).
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/* libguestfs python bindings
|
||||
* Copyright (C) 2009-2012 Red Hat Inc.
|
||||
* Copyright (C) 2009-2013 Red Hat Inc.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* libguestfs python bindings
|
||||
* Copyright (C) 2009-2012 Red Hat Inc.
|
||||
* Copyright (C) 2009-2013 Red Hat Inc.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
@@ -20,6 +20,7 @@
|
||||
#define guestfs_py_h
|
||||
|
||||
#include "guestfs.h"
|
||||
#include "guestfs-internal-frontend.h"
|
||||
|
||||
#if PY_VERSION_HEX < 0x02050000
|
||||
typedef int Py_ssize_t;
|
||||
|
||||
Reference in New Issue
Block a user