* 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/>.
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
+ * USA
*/
#ifndef __PYGI_INFO_H__
#include <Python.h>
#include <girepository.h>
-#include "pygi-cache.h"
G_BEGIN_DECLS
-typedef struct {
- PyObject_HEAD
- GIBaseInfo *info;
- PyObject *inst_weakreflist;
- PyGICallableCache *cache;
-} PyGIBaseInfo;
-
-typedef struct {
- PyGIBaseInfo base;
-
- /* Reference the unbound version of this struct.
- * We use this for the actual call to invoke because it manages the cache.
- */
- struct PyGICallableInfo *py_unbound_info;
-
- /* Holds bound argument for instance, class, and vfunc methods. */
- PyObject *py_bound_arg;
-
-} PyGICallableInfo;
-
-
gboolean pygi_g_struct_info_is_simple (GIStructInfo *struct_info);
void _pygi_info_register_types (PyObject *m);
-gboolean _pygi_is_python_keyword (const gchar *name);
-
G_END_DECLS
#endif /* __PYGI_INFO_H__ */