From 91f450050335b747da2f4cd75260df7f9b36741c Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Sun, 15 Oct 2006 20:45:37 +0000 Subject: Fixed java includes - java bindings now compile --- bindings/java/Makefile.in | 2 +- bindings/perl/alpm.i | 23 ----------------------- bindings/python/alpm.i | 23 ----------------------- 3 files changed, 1 insertion(+), 47 deletions(-) delete mode 100644 bindings/perl/alpm.i delete mode 100644 bindings/python/alpm.i (limited to 'bindings') diff --git a/bindings/java/Makefile.in b/bindings/java/Makefile.in index 3619c0ba..4aed9345 100644 --- a/bindings/java/Makefile.in +++ b/bindings/java/Makefile.in @@ -1,7 +1,7 @@ top_srcdir = @top_srcdir@ prefix = @prefix@ -CFLAGS = $(subst -Werror,,@CFLAGS@) +CFLAGS = $(subst -Werror,,@CFLAGS@) -I$(JAVA_HOME)/include/ -I$(JAVA_HOME)/include/linux/ CFLAGS += -fno-strict-aliasing # see the swig docs ifeq ($(shell arch),x86_64) CFLAGS += -fPIC diff --git a/bindings/perl/alpm.i b/bindings/perl/alpm.i deleted file mode 100644 index dc4d680e..00000000 --- a/bindings/perl/alpm.i +++ /dev/null @@ -1,23 +0,0 @@ -#if defined(SWIGPERL) -%module "Alpm::Core" -#else -%module alpm -#endif -%include "cpointer.i" - -/* Wrap a class interface around a "long *" */ -%pointer_class(long, longp); - -/* Create casting functions */ - -%pointer_cast(char *, long *, void_to_long); -%pointer_cast(void *, char *, void_to_char); -%pointer_cast(void *, unsigned long, void_to_unsigned_long); -%pointer_cast(void *, PM_LIST *, void_to_PM_LIST); -%pointer_cast(void *, PM_PKG *, void_to_PM_PKG); -%pointer_cast(void *, PM_GRP *, void_to_PM_GRP); -%pointer_cast(void *, PM_SYNCPKG *, void_to_PM_SYNCPKG); -%pointer_cast(void *, PM_DB *, void_to_PM_DB); -%pointer_cast(void *, PM_CONFLICT *, void_to_PM_CONFLICT); - -%include "alpm.h" diff --git a/bindings/python/alpm.i b/bindings/python/alpm.i deleted file mode 100644 index dc4d680e..00000000 --- a/bindings/python/alpm.i +++ /dev/null @@ -1,23 +0,0 @@ -#if defined(SWIGPERL) -%module "Alpm::Core" -#else -%module alpm -#endif -%include "cpointer.i" - -/* Wrap a class interface around a "long *" */ -%pointer_class(long, longp); - -/* Create casting functions */ - -%pointer_cast(char *, long *, void_to_long); -%pointer_cast(void *, char *, void_to_char); -%pointer_cast(void *, unsigned long, void_to_unsigned_long); -%pointer_cast(void *, PM_LIST *, void_to_PM_LIST); -%pointer_cast(void *, PM_PKG *, void_to_PM_PKG); -%pointer_cast(void *, PM_GRP *, void_to_PM_GRP); -%pointer_cast(void *, PM_SYNCPKG *, void_to_PM_SYNCPKG); -%pointer_cast(void *, PM_DB *, void_to_PM_DB); -%pointer_cast(void *, PM_CONFLICT *, void_to_PM_CONFLICT); - -%include "alpm.h" -- cgit v1.2.3-24-g4f1b