Commit 1a460279 authored by Jonathan Beck's avatar Jonathan Beck

Ship SWIG interface file with dev headers.

parent c0c27eb5
...@@ -3,6 +3,9 @@ INCLUDES = -I$(top_srcdir)/include ...@@ -3,6 +3,9 @@ INCLUDES = -I$(top_srcdir)/include
BUILT_SOURCES = $(srcdir)/plist_wrap.c BUILT_SOURCES = $(srcdir)/plist_wrap.c
SWIG_SOURCES = plist.i SWIG_SOURCES = plist.i
swigincludedir =$(includedir)/plist/swig
swiginclude_HEADERS = $(SWIG_SOURCES)
pkgpython_PYTHON = PList.py __init__.py pkgpython_PYTHON = PList.py __init__.py
pkgpyexec_LTLIBRARIES = _PList.la pkgpyexec_LTLIBRARIES = _PList.la
_PList_la_SOURCES = $(srcdir)/plist_wrap.c $(SWIG_SOURCES) _PList_la_SOURCES = $(srcdir)/plist_wrap.c $(SWIG_SOURCES)
......
/* swig.i */ /* swig.i */
%module PList %module(package="libplist") PList
%{ %{
/* Includes the header in the wrapper code */ /* Includes the header in the wrapper code */
#include <plist/plist.h> #include <plist/plist.h>
...@@ -169,3 +169,4 @@ typedef struct { ...@@ -169,3 +169,4 @@ typedef struct {
return s; return s;
} }
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment