enable swig
This commit is contained in:
parent
4dd8ee803f
commit
bdcd06cf04
@ -2,6 +2,7 @@ PACKAGE=swig
|
|||||||
DOC=swig
|
DOC=swig
|
||||||
PKGCFLAGS=
|
PKGCFLAGS=
|
||||||
SWIG=@SWIG@
|
SWIG=@SWIG@
|
||||||
|
LIBS=@LIBS@
|
||||||
JAVAC=@JAVAC@
|
JAVAC=@JAVAC@
|
||||||
JAR=@JAR@
|
JAR=@JAR@
|
||||||
include ../Makefile.defs
|
include ../Makefile.defs
|
||||||
|
@ -46,10 +46,10 @@
|
|||||||
#define YAP_CPP_INTERFACE 1
|
#define YAP_CPP_INTERFACE 1
|
||||||
|
|
||||||
|
|
||||||
extern "C" {
|
|
||||||
|
|
||||||
#include "yapi.hh"
|
#include "yapi.hh"
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
extern Term Yap_StringToTerm(const char *s, size_t len, term_t bindings);
|
extern Term Yap_StringToTerm(const char *s, size_t len, term_t bindings);
|
||||||
|
|
||||||
#if THREADS
|
#if THREADS
|
||||||
|
Reference in New Issue
Block a user