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>
...@@ -168,4 +168,5 @@ typedef struct { ...@@ -168,4 +168,5 @@ typedef struct {
plist_to_bin($self->node, &s, &l); plist_to_bin($self->node, &s, &l);
return s; return s;
} }
}; };
\ No newline at end of file
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