%s::
%s *darg = 0
darg
: public %s, public Swig::Director {
staticmemberfunctionHandler:storage
darg = dynamic_cast<%s *>(arg1);
tmap:out:optimal
tmap:arginit
tmap:arginit:next
tmap:default
tmap:default:next
emit:varargs
tmap:typecheck
tmap:typecheck:equivalent
tmap:typecheck:precedence
equivtype
tmap:typecheck:next
feature:except
$action
feature:fragment
wrap:code
wrap:code:done
feature:action
wrap:action
wrap:preaction
wrap:postaction
catch(...) {
catch(%s) {
catch(...) {
throw;
Variable length arguments discarded.
Invalid type (%s) in 'equivalent' attribute in 'typecheck' typemap for type %s.
The 'typecheck' typemap for %s contains an 'equivalent' attribute for a 'precedence' that is not set to SWIG_TYPECHECK_POINTER or 0.
Non-optional argument '%s' follows an optional argument.
No 'throws' typemap defined for exception type '%s'
private:
Swig_memory *swig_mem;
-no-cgo
-gccgo
-go-prefix
-go-pkgpath
-import-prefix
-use-shlib
-soname
-longsize
-intgosize
-intgosize not 32 or 64
SWIGGO 1
SWIGGO_CGO 1
SWIGGO_GCCGO 1
SWIGGO_INTGO_SIZE 32
SWIGGO_INTGO_SIZE 64
SWIGGO_INTGO_SIZE 0
go.swg
#pragma dynimport
#pragma cgo_import_static
(void*);
extern void
= (uintptr)
uintptr
%s *swig_b%d = (%s *)%s;
swig_b%d
tmap:out
emitGoAction
Unable to use return type %s
_swig_go_result
char *swig_stktop
swig_a->
tmap:gotype
go:enumname
_swig_memberptr
[]interface{}
No Go typemap defined for %s
goType
_swig_fnptr
$gotypename
$nondirector_new
.Swigcptr
_swig_Director
v interface{}
) Swigcptr() uintptr {
func (p *
.Swigcptr()
return p.
) SwigIs
return p.v
: public
public:
go:conflict
goImType
.SwigGet
) SwigGet
func (p
return p
SwigGet
SwigIs
(p.Swigcptr())
return
go:type
func
abi interface{},
(a ...interface{})
argc := len(a)
if argc >= %d {
if argc == %d {
if argc > %d {
goto check_%d
a[0].(
a[%d].(%s)
switch argc {
case %d:
a[%d]
check_%d:
complex64
complex128
uint
uint8
byte
uint16
uint32
uint64
float32
float64
_gostring_
_goslice_
_Complex float
_Complex double
intgo
long long
bool
char
short
swig_voidp
map[
chan
emit:cgotype
emit:cgotypestruct
swig_type_%d
_Bool
swig_intgo
typedef
tmap:goargout
swig_r
emit:goinput
tmap:goargout:next
Swig_escape_val =
tmap:goout
cgoGoWrapper
tmap:goin
unsafe.Pointer
_swig_wrap_
//extern
uintptr
var _swig_p uintptr
, _swig_p)
_cgo_runtime_cgocall(
_swig_args ...interface{}
_swig_ret
func() {
defer SwigCgocallDone()
SwigCgocall()
swig_r =
len(_swig_args)
}()
return swig_r
var swig_r_1
swig_r_1
return swig_r_1
var
if len(_swig_args) > %d {
%s = _swig_args[%d].(%s)
var swig_r
.Swigcptr()
_swig_i_%d
C.swig_intgo(len(_swig_args))
C.uintptr_t(_swig_base)
)(unsafe.Pointer(&
*(*C.
)(unsafe.Pointer(&swig_r_p))
swig_r = *(*
swig_r_p :=
swig_r = (
cgoGccWrapper
intgo _swig_optargc
_swig_go_%d
if (_swig_optargc > %d) {
return _swig_go_result;
gccFunctionWrapper
(void *swig_v)
struct swigargs {
intgo _swig_optargc;
long : 0;
= swig_a->
gccgoFunctionWrapper
if (_swig_optargc > %d) {
return _swig_go_result;
makeCgoWrappers
intgo _swig_args
uintptr_t _swig_base
DeleteDirector
Swiggo_DeleteDirector_
virtual ~SwigDirector_
::~SwigDirector_
//export
(c int) {
= 0
swigDirectorLookup(c).(*
swigDirectorDelete(c)
(intgo);
extern "C" void
(go_val);
SwigCgocallBack()
defer SwigCgocallBackDone()
_swiggo_wrap_DeleteDirector_
(void*, int);
(intgo) __asm__("
a.p = go_val;
, &a, (int) sizeof a);
crosscall2(
#pragma dynexport
#pragma cgo_export_static
#pragma textflag 7
extern void
(void *a, int32 n)
, a, n);
runtime
cgocallback(
delete swig_mem;
(char *)
_swig_get
*sym:name
goBaseMethod
goBaseVariable
goBaseVariableSet
tmap:
Delete
swiggoscope.
addExtraBaseInterface
_SwigGet
_swig_NewDirector
swig_p
(int
extern uintptr_t
(_swig_director int
, _
) (_swig_ret
(v interface{}
{0, v}
p := &
(C.int(swigDirectorAdd(p))
(swigDirectorAdd(p)
return p
classDirectorConstructor
= new SwigDirector_
:
extern "C"
(go_val
struct {
intgo go_val;
long : 0;
} SWIGSTRUCTPACKED swig_a;
swig_a.go_val = go_val;
swig_a.
swig_a.%s
_swig_DirectorInterface
_callback_
Swig
interface {
(uintptr_t
(_swig_ptr
func (swig_p *
); swig_ok {
swig_g.
return
C.uintptr_t(
swig_p.
}()
_swig_upcall_
classDirectorMethod
func Director
p.(*
(swig_c int
(swig_result
godirectorout
tmap:godirectorin
.Swigcptr())
virtual
feature:director
feature:nodirector
uintptr
return (uintptr)(p)
return nil
Swigcptr() uintptr
generated
go_imports
import "
%s%s.go
%s%s_gc.c
_%s_%08x%08x
go_begin
go_runtime
go_header
go_wrapper
go_director
cgo_comment
cgo_comment_typedefs
gc_begin
gc_runtime
gc_header
gc_wrapper
// source: %s
/* source: %s */
#define SWIGMODULE %s
#define SWIGGO_PREFIX %s
class Swig_memory;
// source: %s
#define intgo swig_intgo
typedef void *swig_voidp;
#pragma dynimport _ _ "%s"
package %s
func SwigCgocall()
func SwigCgocallDone()
func SwigCgocallBack()
func SwigCgocallBackDone()
Swigcptr() uintptr;
return uintptr(p)
#undef intgo
import "C"
Go Options (available with -go)
-cgo - Generate cgo input files
-no-cgo - Do not generate cgo input files
-gccgo - Generate code for gccgo rather than gc
-go-pkgpath - Like gccgo -fgo-pkgpath option
-go-prefix
- Like gccgo -fgo-prefix option
-import-prefix
- Prefix to add to %import directives
-intgosize - Set size of Go int type--32 or 64 bits
-package - Set name of the Go package to
-use-shlib - Force use of a shared library
-soname - Set shared library holding C/C++ code to
SWIG -go: -intgosize option required but not specified
swig_stktop = _swig_topofstack();
swig_a = (struct swigargs*)((char*)swig_a + (_swig_topofstack() - swig_stktop));
) DirectorInterface() interface{} {
Ignoring '%s' due to Go name ('%s') conflict with '%s'
Ignoring '%s' (Go name '%s') due to Go name conflict for parameter or result type '%s'
panic("No match for overloaded function call")
if argc >= %d && argc <= %d {
if _, ok := a[%d].(%s); !ok {
if Swig_escape_always_false {
_swig_p := uintptr(unsafe.Pointer(&base))
_swig_p := uintptr(unsafe.Pointer(&
unable to use type %s as a function argument
} SWIGSTRUCTPACKED *swig_a = (struct swigargs *) swig_v;
Unable to use type %s as a function argument
if (swig_a->_swig_optargc > %d) {
struct { intgo p; } SWIGSTRUCTPACKED a;
_swig_p := uintptr(unsafe.Pointer(&_swig_director))
go_val(swig_p), swig_mem(0)
Unable to use type %s as director method argument
Unable to use type %s as director method result
, &swig_a, (int) sizeof swig_a);
_swig_p := uintptr(unsafe.Pointer(&_swig_ptr))
if swig_g, swig_ok := swig_p.v.(
panic("call to pure virtual method")
swig_p := swigDirectorLookup(swig_c).(*
_swig_gopanic("call to pure virtual function
_swig_gopanic("accessing abstract class or protected constructor");
DirectorInterface() interface{}
// C++ director class methods.
/* This file should be compiled with 6c/8c. */
swigguilerun.h
guile:goopsclassname
feature:constasvar
%sconst_%s
$value
static %s = (%s)(%s);
Unsupported constant value.
-Linkage
-linkage
ltdlmod
hobbit
passive
-procdoc
-procdocformat
guile-1.4
plain
-emit-setters
-emitsetters
-only-setters
-onlysetters
-emit-slot-accessors
-emitslotaccessors
-scmstub
-shadow
-proxy
-scm
-primsuffix
-goopsprefix
-useclassprefix
-exportprimitive
SWIGGUILE 1
guile_scm.swg
guile_scm_run.swg
SCM s_%d
#:optional
tmap:in:arglist
$name
$type
@var{%s}
$NAME
$PARMNAME
tmap:in:doc
$NAME is of type <$type>
Unable to handle type %s.
tmap:argout:doc
$NAME (of type $type)
#define FUNC_NAME "
tmap:out:doc
#undef FUNC_NAME
_rest (SCM rest)
static SCM
SCM arg[%d];
arg[0]
, arg[%d]
SCM setter =
SCM getter =
scm_c_define
("%s", getter);
return %s(argc,argv);
(SCM rest)
#define FUNC_NAME "%s"
SCM argv[%d];
primitive:
(define
(define-method (
. %args)
%args))
(apply
$num_values
$values
@deffn primitive
@end deffn
%%arg%d
SCM gswig_result
gswig_list_p
int argc, SCM *argv
static SCM
%s(SCM s_0)
if (s_0 != SCM_UNDEFINED) {
return gswig_result;
(set! %s (%s))
Is constant
Returns constant
tmap:varout:doc
set! (
tmap:varin:arglist
new-value
which is of type
$1_type
#:optional
tmap:varin:doc
new-value <%s>
Returns variable value
@deffnx primitive
extern "C" {
/* Linkage: simple */
/* Linkage: passive */
scm_init_
%s (void)
/* Linkage: ltdlmod */
return SCM_UNSPECIFIED;
/* Linkage: module */
SWIG_init();
scm_c_export(%sNULL);
/* Linkage: hobbit */
_slash_
%s%s.scm
(define-module (%s))
(define-module (%s))
(export %s)
(export %s)
gswig_
(define-class
()
SWIG_TypeClientData(SWIGTYPE
new-
#:new-function
_swig_guile_setgoopsclass
(SCM cl)
static SCM
#define FUNC_NAME %s
#undef FUNC_NAME
(%s%s %s)
#:allocation #:virtual
obj))
-get
obj value))
-set
#:getter
#:accessor
beforereturn
return_nothing_doc
return_one_doc
return_multi_doc
goops
three
four
five
seven
eight
nine
eleven
twelve
Guile Options (available with -guile)
-emitsetters - Emit procedures-with-setters for variables
and structure slots.
-emitslotaccessors - Emit accessor methods for all GOOPS slots
-exportprimitive - Add the (export ...) code from scmstub into the
GOOPS file.
-goopsprefix - Prepend to all goops identifiers
-Linkage - Use linkage protocol (default `simple')
Use `module' for native Guile module linking
(requires Guile >= 1.5.0). Use `passive' for
passive linking (no C-level module-handling code),
`ltdlmod' for Guile's old dynamic module
convention (Guile <= 1.4), or `hobbit' for hobbit
modules.
-onlysetters - Don't emit traditional getter and setter
procedures for structure slots,
only emit procedures-with-setters.
-package - Set the path of the module to
(default NULL)
-prefix - Use as prefix [default "gswig_"]
-procdoc - Output procedure documentation to
-procdocformat - Output procedure documentation in ;
one of `guile-1.4', `plain', `texinfo'
-proxy - Export GOOPS class definitions
-primsuffix - Name appended to primitive module when exporting
GOOPS classes. (default = "primitive")
-scmstub - Output Scheme file with module declaration and
exports; only with `passive' and `simple' linkage
-useclassprefix - Prepend the class name to all goops identifiers
Deprecated command line option: -gh. Wrappers are always generated for the SCM interface. See documentation for more information regarding the deprecated GH interface.
Deprecated command line option: -scm. Wrappers are always generated for the SCM interface. See documentation for more information regarding the deprecated GH interface.
guile: GOOPS support requires passive or module linkage
guile: Warning: -exportprimitive only makes sense with passive linkage without a scmstub.
*** Unable to open 'guile_scm_run.swg
if (%s != SCM_UNDEFINED) {
SWIG_Guile_MarkPointerDestroyed($input);
SWIG_Guile_GetArgs (arg, rest, %d, %d, "%s");
scm_c_define_gsubr("%s", 0, 0, 1, (swig_guile_proc) %s_rest);
scm_c_make_gsubr("%s", %d, %d, 0, (swig_guile_proc) %s);
scm_c_define_gsubr("%s", %d, %d, 0, (swig_guile_proc) %s);
("%s", scm_make_procedure_with_setter(getter, setter));
((swig_guile_clientdata *)(SWIGTYPE%s->clientdata))->destroy = (guile_destructor) %s;
int argc = SWIG_Guile_GetArgs (argv, rest, %d, %d, "%s");
scm_misc_error("%s", "No matching method for generic function `%s'", SCM_EOL);
scm_c_define_gsubr("%s", 0, 0, 1, (swig_guile_proc) %s);
SWIGUNUSED int gswig_list_p = 0
scm_c_define_gsubr("%s", 0, %d, 0, (swig_guile_proc) %s);
scm_c_define("%s", %s(SCM_UNDEFINED));
Get or set the value of the C variable,
If NEW-VALUE is provided, set C variable to this value.
{ SCM p = scm_c_define_gsubr("%s", 0, 1, 0, (swig_guile_proc) %s);
("%s", scm_make_procedure_with_setter(p, p)); }
scm_register_module_xxx ("%s", (void *) SWIG_init);
static void SWIG_init_helper(void *data)
scm_c_define_module("%s",
SWIG_init_helper, NULL);
(use-modules (oop goops) (Swig common))
(use-modules ((%s-%s) :renamer (symbol-prefix-proc 'primitive:)))
static swig_guile_clientdata _swig_guile_clientdata%s = { NULL, SCM_EOL };
, (void *) &_swig_guile_clientdata
#:metaclass
->clientdata))->goops_class = cl;
((swig_guile_clientdata *)(SWIGTYPE
scm_c_define_gsubr("%s", 1, 0, 0, (swig_guile_proc) %s);
#:slot-ref (lambda (obj) (
#:slot-set! (lambda (obj value) (
#:slot-set! (lambda (obj value) (error "Immutable slot"))
#ifndef SWIGGUILE
#define SWIGGUILE
#endif
#define SWIG_GUILE_INIT_STATIC extern
#define SWIG_GUILE_INIT_STATIC static
SWIG_GUILE_INIT_STATIC void
SWIG_init (void);
#ifdef __cplusplus
extern "C" {
#endif
5GUILE
feature:interface:name
The interface feature for '%s' is missing the name attribute.
Base class '%s' of '%s' is not similarly marked as an interface.
-doxygen
-debug-doxygen-translator
-debug-doxygen-parser
-nopgcpp
-jnic
-nofinalize
-jnicpp
SWIGJAVA 1
java.swg
directordisconnect
implements
extends
javabase
tmap:javabase:replace
tmap:javabase:notderived
javainterfacecode
jlong baseptr = 0;
SWIGEXPORT jlong JNICALL
**)&baseptr = argp1 ? new
**)&jarg1;
*(
**)&baseptr = *(
javainterfaces
javaimports
javabody_derived
javabody
javaclassmodifiers
$javaclassname
javadestruct_derived
javadestruct
tmap:javadestruct:methodname
tmap:javadestruct:parameters
javafinalize
$jnicall
change_ownership
%s.%s(this, swigCPtr, false)
%s.%s(this, swigCPtr, true)
tmap:%s:%s
$methodname
No %s typemap for %s
directorowner_release
directorowner_take
javacode
%s%s%s
$*javaclassname
$&javaclassname
$javainterfacename
$*javainterfacename
$&javainterfacename
%s:throws
java:throwslist
feature:java:methodmodifiers
tmap:javain
$javainput
tmap:javain:pre
tmap:javain:post
tmap:jtype
tmap:jtype:nopgcpp
tmap:javain:pgcppname
tmap:javaout
throws %s
swigjobj
tmap:directorin:descriptor
javapackage
$packagepath
$packagepath/
jenv
swigjnienv(this)
JNIEnvWrapper
swigjnienv
= swigjnienv.getJNIEnv()
JNIEnv *
= (jobject) NULL
jobject
if (!swig_override[%d]) {
tmap:jni
tmap:javadirectorin
$jniinput
, %s %s
jself.%s(%s)
tmap:javadirectorout
$javacall
return %s;
imclass_method
imclass_fdesc
imclass_methodidx
feature:director:except
if ($error) {
$directorthrowshandlers
$directorthrowshandlers
tmap:directorthrows
swigerror
$error
tmap:directorout
tmap:directorin:nouse
jself
, this
jresult = 0
(JNIEnv *jenv, jclass jcls
(void)jenv;
(void)jcls;
, %s %s_
, jobject %s_
(void)%s_;
tmap:newfree
tmap:ret
%s::%s(JNIEnv *jenv) : %s {
%s(JNIEnv *jenv);
JNIEnv
arg:byname
director:prefix_args
static jclass baseclass
static struct {
const char *mname;
const char *mdesc;
jmethodID base_methid;
} methods[] = {
{ "%s", "%s", NULL }
if (!baseclass) {
if (!baseclass) return;
protected:
swig_override[i] = false;
if (derived) {
jenv->ExceptionClear();
return false;
Swig::Director(jenv)
feature:java:const
%s final static %s %s =
feature:java:constvalue
%s.swigToEnum(%s.%s());
%s.%s.%s.%s
%s%s.java
$javaclazzname
if (director) {
javaconstruct
feature:java:enum
$static
jniclassbase
jniclasspackage
Java_%s%s_%%f
jniclassclassmodifiers
jniclasscode
jniclassimports
jniclassinterfaces
moduleimport
moduleinterface
modulemethodmodifiers
allshadowimport
allshadowcode
allshadowbase
allshadowinterface
allshadowclassmodifiers
jniclassname
%sJNI
%sConstants
package %s.%s;
package %s;
package %s;
static {
swig_module_init();
public interface %s {
swig_module_init
{ "%s", "%s" }
namespace Swig {
namespace {
jclass jclass_%s = NULL;
const char *method;
const char *signature;
} methods[%d] = {
int i
extends %s
CallStaticByteMethod
CallStaticCharMethod
CallStaticDoubleMethod
CallStaticFloatMethod
CallStaticIntMethod
CallStaticLongMethod
CallStaticObjectMethod
CallStaticShortMethod
CallStaticVoidMethod
CallStaticBooleanMethod
Deprecated command line option: %s. Proxy classes are now generated by default.
Deprecated command line option: -jnic. C JNI calling convention now used when -c++ not specified.
Deprecated command line option: -nofinalize. Use the new javafinalize typemap instead.
Deprecated command line option: -jnicpp. C++ JNI calling convention now used when -c++ specified.
tmap:directordisconnect:methodname
swig_disconnect_director_self("
Warning for %s, base %s ignored. Multiple inheritance is not supported in Java.
tmap:javainterfacecode:cptrmethod
public final static native long %s(long jarg1);
(JNIEnv *jenv, jclass jcls, jlong jarg1) {
(*argp1) : 0;
return baseptr;
*argp1;
(void)jenv;
(void)jcls;
argp1 = *(
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(
**)&jarg1;
return baseptr;
The javabase typemap for proxy %s must contain just one of the 'replace' or 'notderived' attributes.
/* This was generated from emitProxyClassDefAndCPPCasts() */
tmap:javadestruct_derived:methodname
tmap:javadestruct_derived:methodmodifiers
tmap:javadestruct_derived:parameters
tmap:javadestruct:methodmodifiers
No methodname attribute defined in javadestruct%s typemap for %s
No methodmodifiers attribute defined in javadestruct%s typemap for %s.
throw new UnsupportedOperationException("C++ destructor does not have public access")
No %s method name attribute for %s
Warning for %s, base %s ignored. Multiple inheritance is not supported in Java. Perhaps you need one of the 'replace' or 'notderived' attributes in the javabase typemap?
/* This was generated from moduleClassFunctionHandler() */
No jstype typemap defined for %s
No javain typemap defined for %s
No javaout typemap defined for %s
public static %s %s(%s jself
No jtype typemap defined for %s
No jni typemap defined for %s for use in %s::%s (skipping director method)
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual,
"Attempted to invoke pure virtual method %s::%s.");
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
No javadirectorin typemap defined for %s for use in %s::%s (skipping director method)
No jtype typemap defined for %s for use in %s::%s (skipping director method)
jenv->%s(Swig::jclass_%s, Swig::director_method_ids[%s], %s);
jthrowable $error = jenv->ExceptionOccurred();
Swig::DirectorException::raise(jenv, $error);
No directorthrows typemap defined for %s
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in %s::%s ");
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
No or improper directorin typemap defined for %s for use in %s::%s (skipping director method)
No or improper directorin typemap for type %s for use in %s::%s (skipping director method)
Missing JNI descriptor in directorin typemap defined for %s for use in %s::%s (skipping director method)
/* This was generated from proxyclassfunctionhandler() */
if (getClass() == %s.class) %s; else %s
(getClass() == %s.class) ? %s : %s
Covariant return types not supported in Java. Proxy method will return %s.
No jni typemap defined for %s
public final static native %s %s(
void %s::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
baseclass = jenv->FindClass("%s");
baseclass = (jclass) jenv->NewGlobalRef(baseclass);
bool swig_overrides(int n) {
return (n < %d ? swig_override[n] : false);
Swig::BoolArray<%d> swig_override;
bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
for (int i = 0; i < %d; ++i) {
if (!methods[i].base_methid) {
methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
if (!methods[i].base_methid) return;
feature:director:assumeoverride
swig_override[i] = derived;
jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
swig_override[i] = (methid != methods[i].base_methid);
void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
/* This was generated from constantWrapper() */
The nspace feature is used on '%s' without -package. The generated code may not compile as Java does not support types declared in a named package accessing types declared in an unnamed package.
tmap:javainterfacecode:declaration
public final static native void %s(%s obj, long cptr, boolean mem_own, boolean weak_global);
SWIGEXPORT void JNICALL Java_%s%s_%s(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
%s *obj = *((%s **)&objarg);
director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
public final static native void %s(%s obj, long cptr, boolean take_or_release);
SWIGEXPORT void JNICALL Java_%s%s_%s(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
%s *director = dynamic_cast<%s *>(obj->operator->());
%s *director = dynamic_cast<%s *>(obj);
director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
/* This was generated from constructionhandler() */
tmap:javaconstruct:directorconnect
"directorconnect" attribute missing in %s "javaconstruct" typemap.
/* This was generated from enumvalueDeclaration() */
%s final static %s %s = new %s("%s", %s);
%s final static %s %s = new %s("%s");
%s final static %s %s = %s;
/* This was generated from enumDeclaration() */
Deprecated pragma. Please use the moduleimports pragma.
Deprecated pragma. Please use the moduleinterfaces pragma.
Deprecated pragma. Please use %%javamethodmodifiers.
Deprecated pragma. Please use %%typemap(javaimports).
Deprecated pragma. Please use %%typemap(javacode).
Deprecated pragma. Please use %%typemap(javabase).
Deprecated pragma. Please use %%typemap(javainterfaces).
Deprecated pragma. Please use %%typemap(javaclassmodifiers).
#ifndef SWIGJAVA
#define SWIGJAVA
#endif
private final static native void swig_module_init();
/* This was generated from top() */
jmethodID director_method_ids[%d];
SWIGEXPORT void JNICALL Java_%s%s_%s(JNIEnv *jenv, jclass jcls) {
Swig::jclass_%s = (jclass) jenv->NewGlobalRef(jcls);
if (!Swig::jclass_%s) return;
for (i = 0; i < (int) (sizeof(methods)/sizeof(methods[0])); ++i) {
Swig::director_method_ids[i] = jenv->GetStaticMethodID(jcls, methods[i].method, methods[i].signature);
if (!Swig::director_method_ids[i]) return;
Java Options (available with -java)
-doxygen - Convert C++ doxygen comments to JavaDoc comments in proxy classes
-debug-doxygen-parser - Display doxygen parser module debugging information
-debug-doxygen-translator - Display doxygen translator module debugging information
-nopgcpp - Suppress premature garbage collection prevention parameter
-noproxy - Generate the low-level functional interface instead
of proxy classes
-oldvarnames - Old intermediary method names for variable wrappers
-package - Set name of the Java package to
4JAVA
exports
wrap:disown
tmap:in:disown
SWIG_POINTER_DISOWN
$disown
$objecttype
SWIG_POINTER_OWN
jsresult
name_mangled
parent_mangled
wrap:argc
thisObject
Illegal state.
info.Holder()
args.Holder()
feature:nspace
is_static
globalfunctionHandler
memberset
destructorHandler
create_namespaces
register_namespaces
post-init
force_cpp
is_immutable
a().char
type_mangled
_wrap_new_veto_
ctor_dispatchers
is_abstract
js_getter
Could not find template %s
$jswrapper
$jslocals
$jscode
/* begin fragment("%s") */
/* end fragment("%s") */
member_variables
member_functions
static_variables
static_functions
jsc_class_declaration
$jsmangledname
js_initializer_define
$jsname
js_initializer
$jsregisterclasses
$jscreatenamespaces
$jsregisternamespaces
js_function
js_overloaded_function
$jsargcount
$jsv8nspaces
$jsv8classtemplates
$jsv8wrappers
$jsv8inheritance
$jsv8classinstances
$jsv8staticwrappers
$jsv8registerclasses
$jsv8registernspaces
js_setter
has_templates
cppvalue
_wrapConstant_%s
static %s = %s;
jsc_nspace_declaration
$jsglobalvariables
$jsglobalfunctions
$jsnspace
jsc_nspace_definition
jsc_nspace_registration
$jsparent
jsc_variable_declaration
$jsgetter
$jssetter
jsc_function_declaration
delete [] (%s)
delete (%s)
js_dtoroverride
${classname_mangled}
$jsfree
$jstype
${destructor_action}
js_dtor
jsc_class_tables
$jsclassvariables
$jsclassfunctions
$jsstaticclassfunctions
$jsstaticclassvariables
js_veto_ctor
jsc_class_definition
jsc_class_inherit
$jsbaseclassmangled
jsc_class_noinherit
$jsmangledtype
$jsclass_inheritance
$jsctor
$jsdtor
jsc_class_registration
js_function_dispatch_case
js_function_dispatcher
js_ctor
js_overloaded_ctor
%sresult;
js_ctor_dispatch_case
js_ctor_dispatcher
$jsdispatchcases
JS_veto_set_variable
-jsc
-node
-debug-codetemplates
SWIG_JAVASCRIPT_V8 1
javascript/v8
SWIG_JAVASCRIPT_JSC 1
javascript/jsc
BUILDING_NODE_EXTENSION 1
SWIGJAVASCRIPT 1
javascript.swg
jsv8_declare_class_template
&%s_clientData
jsv8_define_class_template
jsv8_create_class_instance
jsv8_inherit
$jsbaseclass
jsv8_register_class
jsv8_register_static_variable
jsv8_register_member_variable
jsv8_register_static_function
jsv8_register_member_function
jsv8_create_namespace
jsv8_register_namespace
isextension
Warning: unsupported wrapper function type
Warning: unsupported wrapper function type
memberconstantHandler:sym:name
Template code was null. Illegal input for template.
memberpointer:constant:wrap:name
Only one engine can be specified at a time.
Javascript Options (available with -javascript)
-jsc - creates a JavascriptCore extension
-v8 - creates a v8 extension
-node - creates a node.js extension
-debug-codetemplates - generates information about the origin of code templates
SWIG Javascript: Unknown engine. Please specify one of '-jsc', '-v8' or '-node'.
9JSEmitter
10JAVASCRIPT
10JSCEmitter
9V8Emitter
feature:emitonlychildren
%s::~%s() throw() {
%s::~%s() {
constantWrapper : %s = %s
%s -
functionWrapper : %s
action : %s
staticmemberfunctionHandler
feature:callback
extendname
doc:low:name
doc:high:name
feature:callback:name
feature:callback:staticname
staticmembervariableHandler
feature:unref
destructorDeclaration
union
wrap:directormap
using %s::%s;
feature:del
feature:self:disown
memberfunction
SwigExplicit
Previous declaration of '%s'
feature:allowexcept
feature:exceptvar
sym:scope
enumMissing
methodNode
enumvalueDeclaration:sym:name
constantDirective
%(escape)s
vmid
fqdname
classDirectorMethods
returntype
?name
?parms
?type
copyconstructorHandler
handled_as_constructor
callbackfunctionHandler
(%s (*)(%s))(%s)
&%s::%s
has_default_constructor
feature:copyctor
other
copy_constructor_decl
feature:nodefaultdtor
allocate:destructor
SwigDirector_%s_%s
director:classname
f(%s).
feature:nodefaultctor
$arg != 0
$nondirector_new
$director_new
noattributefunction
feature:naturalvar
variableWrapper
?varget
?varset
globalin
(*%s)->%s
memberin
r.p.
r.q(const
sym:cleanconstructor
constructorDeclaration
Previous declaration is %s
~destructor
__dummy_
nonpublic_%s%s
cDeclaration
extern "C" %s;
Unrecognized parse tree node type '%s'
Can't apply (%s) to (%s). Number of arguments don't match.
Can't apply (%s). No typemaps are defined.
The use of $source and $target in a typemap declaration is deprecated.
For typemaps related to argument input (in,ignore,default,arginit,check), replace
$source by $input and $target by $1. For typemaps related to return values (out,
argout,ret,except), replace $source by $1 and $target by $result. See the file
Doc/Manual/Typemaps.html for complete details.
%%typemap(except) is deprecated. Use the %%exception directive.
%%typemap(ignore) has been replaced by %%typemap(in,numinputs=0).
Deprecated typemap feature ($source/$target).
Multiple-input typemaps (numinputs > 1) not supported by this target language module.
Can't copy typemap. Number of types differ.
Can't copy typemap (%s) %s = %s
LANGUAGE SYMBOLS start =======================================
LANGUAGE SYMBOLS finish =======================================
===================================================
Unknown target '%s' for %%insert directive.
Use of an illegal destructor name '%s' in %%extend is deprecated, the destructor name should be '%s'.
Illegal destructor name %s. Ignored.
Destructor %s is final, %s cannot be a director class.
Director base class %s has no virtual destructor.
The interface feature name '%s' for proxy class '%s' is already defined in the generated target language module in scope '%s'.
'%s' is multiply defined in the generated target language module in scope '%s'.
'%s' is multiply defined in the generated target language module.
Director class '%s' is abstract, abstract method '%s' is not accessible, maybe due to multiple inheritance or 'nodirector' feature
Director class '%s' is abstract, abstract method '%s' is private
if (director) director->swig_disown();
Swig::Director *director = SWIG_DIRECTOR_CAST(arg1);
Can't generate wrappers for unnamed struct/class.
Can't wrap class %s unless renamed to a valid identifier.
if ( $comparison ) { /* subclassed */
dangerous, use %%nodefaultctor, %%nodefaultdtor instead.
Bad value for attributefunction. Expected "fmtget:fmtset".
Unable to set variable of type %s.
Director class '%s' can't be constructed
Overloaded constructor ignored. %s
Use of an illegal constructor name '%s' in %%extend is deprecated, the constructor name should be '%s'.
Function %s must have a return type. Ignored.
Overloaded declaration ignored. %s
Can't wrap '%s' unless renamed to a valid identifier.
%%template() contains no name. Template method ignored: %s
10Dispatcher
8Language
swigluarun.h
-nomoduleglobal
-elua
-eluac
-no-old-metatable-bindings
-squash-bases
-elua-emulate
SWIGLUA 1
lua.swg
luarun.swg
/*This is only emulation!*/
*** Unable to open '%s'
int SWIG_arg = 0
SWIG_arg
(lua_State* L) {
static int
lua:ignore_args
tmap:in:checkfn
if(!%s(L,%s))
if(lua_gettop(L)>=%s){%s}
return SWIG_arg;
if(0) SWIG_fail;
fail:
lua_error(L);
return %s(L);
argc = lua_gettop(L);
self,args
$args
" %s\n"
lua_error(L);return 0;
int argc
int argv[%d]={1
%s = %s
%s =
%s =
%s =
lua:cdata
swig_%s
swig_%s_attributes
static swig_lua_attribute
attributes:name
attributes:decl
swig_%s_methods
const LUA_REG_TYPE
static swig_lua_method
methods:name
methods:decl
swig_%s_constants
static swig_lua_const_info
constants:name
constants:decl
swig_%s_classes
static swig_lua_class*
classes:name
classes:decl
swig_%s_namespaces
static swig_lua_namespace*
namespaces:name
namespaces:decl
swig_%s_get
get:name
get:decl
swig_%s_set
set:name
set:decl
swig_%s_meta
metatable
metatable:name
metatable:decl
lua:no_reg
{LSTRKEY("
SwigModule
consttab
$nsname
%s,
lua_constantMember
lua:no_namespaces
lua:no_classes
lua:class_instance
%s%sSwigStatic
lua:class_static
swig_delete_%s
(void *obj) {
static void
) obj;
delete (
free((char *) obj);
_proxy_%s
(lua_State *L) {
lua_pushcfunction(L,
assert(lua_istable(L,1));
assert(!lua_isnil(L,-1));
, LFUNCVAL(
free_
lua:closed
{0,0,0}
{LNILKEY, LNILVAL}
{0,0,0,0,0,0}
{LSTRKEY("const"), LROVAL(
{LNILKEY, LNILVAL}
{0,0}
0
{LSTRKEY(".get"), LROVAL(
{LSTRKEY(".set"), LROVAL(
{LSTRKEY(".fn"), LROVAL(
{LSTRKEY(".static"), LROVAL(
static swig_lua_namespace
_bases[] = {
static swig_lua_class *swig_
_base_names[] = {
static const char *swig_
", "
= { "
", &SWIGTYPE
, %s, %s, &%s
"%s *",
SWIG_Lua_set_immutable
%s{ "%s", %s, %s },
*lua:name
__unm
initbeforefunc
luacode
#define SWIG_name "%s"
Lua Options (available with -lua)
-elua - Generates LTR compatible wrappers for smaller devices running elua
-eluac - LTR compatible wrappers in "crass compress" mode for elua
-elua-emulate - Emulates behaviour of eLua. Useful only for testing.
Incompatible with -elua/-eluac options.
-nomoduleglobal - Do not register the module name as a global variable
but return the module table from calls to require.
-no-old-metatable-bindings
- Disable support for old-style bindings name generation, some
old-style members scheme etc.
-squash-bases - Squashes symbols from all inheritance tree of a given class
into itself. Emulates pre-SWIG3.0 inheritance. Insignificantly
speeds things up, but increases memory consumption.
Cannot have -elua-emulate with either -eluac or -elua
#define SWIG_LUA_TARGET SWIG_LUA_FLAVOR_ELUA
#define SWIG_LUA_ELUA_EMULATE
#define SWIG_LUA_TARGET SWIG_LUA_FLAVOR_ELUAC
#define SWIG_LUA_TARGET SWIG_LUA_FLAVOR_LUA
addSymbol(%s to scope %s) failed
SWIG_check_num_args("%s",%d,%d)
if(lua_gettop(L)>=%s && !%s(L,%s))
SWIG_fail_arg("%s",%s,"%s");
SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function '%s'\n"
" Possible C/C++ prototypes are:\n"%s);
lua:class_instance:static_hash
lua:class_static:instance_hash
lua_call(L,lua_gettop(L)-1,1);
lua_replace(L,1); /* replace our table with real constructor */
{LSTRKEY("__call"), LFUNCVAL(%s)},
{LSTRKEY("__metatable"), LROVAL(
{LSTRKEY("__disown"), LFUNCVAL(SWIG_Lua_class_disown)},
{LSTRKEY("__index"), LFUNCVAL(SWIG_Lua_class_get)},
{LSTRKEY("__newindex"), LFUNCVAL(SWIG_Lua_class_set)},
{LSTRKEY("__index"), LFUNCVAL(SWIG_Lua_namespace_get)},
{LSTRKEY("__newindex"), LFUNCVAL(SWIG_Lua_namespace_set)},
{LSTRKEY("__gc"), LFUNCVAL(SWIG_Lua_class_destruct)},
{LSTRKEY(".instance"), LROVAL(
static swig_lua_class _wrap_class_
, swig_%s_bases, swig_%s_base_names };
%s{LSTRKEY("%s"), LFUNCVAL(%s)},
lua_staticmembervariableHandler
lua_staticmemberfunctionHandler
#ifndef SWIGLUA
#define SWIGLUA
#endif
#define SWIG_LUA_NO_MODULE_GLOBAL
#define SWIG_LUA_MODULE_GLOBAL
#define SWIG_LUA_SQUASH_BASES
#define SWIG_init luaopen_%s
#define SWIG_init_user luaopen_%s_user
#define SWIG_LUACODE luaopen_%s_luacode
void SWIG_init_user(lua_State* L)
/* exec Lua code if applicable */
SWIG_Lua_dostring(L,SWIG_LUACODE);
const char* SWIG_LUACODE=
"%s";
3LUA
/proc/self/exe
/swiglib
feature:
-nopreprocess
-verbose
-c++
__cplusplus __cplusplus
-c++out
-fcompact
-fvirtual
-fastdispatch
-nofastdispatch
-naturalvar
-directors
-dirprot
-nodirprot
-pcreversion
-small
-noruntime
-external-runtime
-make_default
-makedefault
-no_default
-nodefault
-nodefaultctor
-nodefaultdtor
-copyctor
-noexcept
-noextern
-addextern
-debug-template
-debug_template
-show_templates
-templatereduce
-notemplatereduce
-macroerrors
-swiglib
-fakeversion
-version
SWIG Version %s
x86_64-pc-none
/usr/bin/g++
Compiled with %s [%s]
Configured options: %cpcre
http://www.swig.org
-copyright
Copyright (c) 1995-1998
Copyright (c) 1998-2005
University of Chicago
Copyright (c) 2005-2006
-features
-freeze
-includeall
-importall
-ignoremissing
-cpperraswarn
-nocpperraswarn
-cppext
-debug-typemap
-debug_typemap
-tm_debug
-debug-tmsearch
-debug-tmused
-MMD
-outdir
-outcurrentdir
-Wall
-Wallkw
-Werror
-Wextra
202,309,403,405,512,321,322
-debug-symtabs
-debug-symbols
-debug-csymbols
-debug-lsymbols
-debug-tags
-dump_tags
-debug-top
-debug-module
-dump_tree
-dump_top
-dump_module
-dump_parse_module
-dump_parse_top
-dump_xml
-xmlout
-nocontract
-browse
-debug-typedef
-dump_typedef
-debug-classes
-dump_classes
-debug-memory
-dump_memory
-Fstandard
-Fmicrosoft
SWIG 1
__STDC__
4.0.2
SWIG_VERSION 0x
SWIG_LIB
.%sswig_lib%s%s
./swig_lib
SWIGOPT%(upper)s
Language subdirectory: %s
Search paths:
swiglabels.swg
swigerrors.swg
swigrun.swg
runtime.swg
Handling checkout...
Preprocessing...
Unable to find file '%s'.
%%include
%%include
%%include <%s>
%%include "%s"
%s_wrap.%s
%s
debug-top stage 1
debug-module stage 1
Processing types...
debug-top stage 2
debug-module stage 2
C++ analysis...
Processing nested classes...
debug-top stage 3
debug-module stage 3
Classes
------------
inputfile
.cxx
.c++
.cpp
debug-top stage 4
debug-module stage 4
CCACHE_OUTFILES
%s_wrap.c
Generating wrappers...
/home/conan/w/BuildSingleReference/.conan/data/swig/4.0.2/_/_/package/ecb2d71ae4bad3b51dade00ec89140273402b5d7/bin/swiglib
On exit, could not delete file %s: %s
-runtime, -noruntime command line options are deprecated.
dangerous, use -nodefaultctor, -nodefaultdtor instead.
-noextern command line option is deprecated; extern is no longer generated by default.
Please see %s for reporting bugs and further information
University of Utah and the Regents of the University of California
Arizona Board of Regents (University of Arizona)
General Options
-addextern - Add extra extern declarations
-c++ - Enable C++ processing
-co - Check out of the SWIG library
-copyctor - Automatically generate copy constructors wherever possible
-cpperraswarn - Treat the preprocessor #error statement as #warning (default)
-cppext - Change file extension of generated C++ files to
(default is cxx)
-copyright - Display copyright notices
-debug-classes - Display information about the classes found in the interface
-debug-module - Display module parse tree at stages 1-4, is a csv list of stages
-debug-symtabs - Display symbol tables information
-debug-symbols - Display target language symbols in the symbol tables
-debug-csymbols - Display C symbols in the symbol tables
-debug-lsymbols - Display target language layer symbols
-debug-tags - Display information about the tags found in the interface
-debug-template - Display information for debugging templates
-debug-top - Display entire parse tree at stages 1-4, is a csv list of stages
-debug-typedef - Display information about the types and typedefs in the interface
-debug-typemap - Display typemap debugging information
-debug-tmsearch - Display typemap search debugging information
-debug-tmused - Display typemaps used debugging information
-directors - Turn on director mode for all the classes, mainly for testing
-dirprot - Turn on wrapping of protected members for director classes (default)
-D - Define a symbol (for conditional compilation)
-E - Preprocess only, does not generate wrapper code
-external-runtime [file] - Export the SWIG runtime stack
-fakeversion - Make SWIG fake the program version number to
-fcompact - Compile in compact mode
-features - Set global features, where is a comma separated list of
features, eg -features directors,autodoc=1
If no explicit value is given to the feature, a default of 1 is used
-fastdispatch - Enable fast dispatch mode to produce faster overload dispatcher code
-Fmicrosoft - Display error/warning messages in Microsoft format
-Fstandard - Display error/warning messages in commonly used format
-fvirtual - Compile in virtual elimination mode
-help - Display help
-I- - Don't search the current directory
-I - Look for SWIG files in directory
-ignoremissing - Ignore missing include files
-importall - Follow all #include statements as imports
-includeall - Follow all #include statements
-l - Include SWIG library file
-macroerrors - Report errors inside macros
-makedefault - Create default constructors/destructors (the default)
-M - List all dependencies
-MD - Is equivalent to `-M -MF ', except `-E' is not implied
-MF - Generate dependencies into and continue generating wrappers
-MM - List dependencies, but omit files in SWIG library
-MMD - Like `-MD', but omit files in SWIG library
-module - Set module name to
-MP - Generate phony targets for all dependencies
-MT - Set the target of the rule emitted by dependency generation
-nocontract - Turn off contract checking
-nocpperraswarn - Do not treat the preprocessor #error statement as #warning
-nodefault - Do not generate default constructors nor default destructors
-nodefaultctor - Do not generate implicit default constructors
-nodefaultdtor - Do not generate implicit default destructors
-nodirprot - Do not wrap director protected members
-noexcept - Do not wrap exception specifiers
-nofastdispatch - Disable fast dispatch mode (default)
-nopreprocess - Skip the preprocessor step
-notemplatereduce - Disable reduction of the typedefs in templates
-O - Enable the optimization options:
-fastdispatch -fvirtual
-o - Set name of C/C++ output file to
-oh - Set name of C++ output header file for directors to
-outcurrentdir - Set default output dir to current dir instead of input file's path
-outdir - Set language specific files output directory to
-pcreversion - Display PCRE version information
-small - Compile in virtual elimination and compact mode
-swiglib - Report location of SWIG library and exit
-templatereduce - Reduce all the typedefs in templates
-v - Run in verbose mode
-version - Display SWIG version number
-Wall - Remove all warning suppression, also implies -Wextra
-Wallkw - Enable keyword warnings for all the supported languages
-Werror - Treat warnings as errors
-Wextra - Adds the following additional warnings: 202,309,403,405,512,321,322
-w - Suppress/add warning messages, eg -w401,+321 - see Warnings.html
-xmlout - Write XML version of the parse tree to after normal processing
Options can also be defined using the SWIG_FEATURES environment variable, for example:
$ SWIG_FEATURES="-Wall"
$ export SWIG_FEATURES
$ swig -python interface.i
is equivalent to:
$ swig -Wall -python interface.i
Arguments may also be passed in a file, separated by whitespace. For example:
$ echo "-Wall -python interface.i" > args.txt
$ swig @args.txt
Note: 'swig - -help' displays options for a specific target language.
The -c++out option is for C input but C++ input has been requested via -c++
*** Please provide a filename for the external runtime
*** Unable to open 'swiglabels.swg'
*** Unable to open 'swigerrors.swg'
*** Unable to open 'swigrun.swg'
*** Unable to open 'runtime.swg'
Unable to locate '%s' in the SWIG library.
File '%s' already exists. Checkout aborted.
'%s' checked out from the SWIG library.
Unable to find option or file '%s',
Use 'swig -help' for more information.
Use of the include path to find the input file is deprecated and will not work with ccache. Please include the path when specifying the input file.
No target language specified.
%%include(maininput="%s") "%s"
Cannot generate dependencies with -nopreprocess
Starting language-specific parse...
Processing unnamed structs...
No module name specified using %%module or -module.
Missing input file in preprocessed output.
Experimental target language. Target language %s specified by %s is an experimental language. Please read about SWIG experimental languages, http://swig.org/Doc4.0/Introduction.html#Introduction_experimental_status.
Failed to write list of output files to the filename '%s' specified in CCACHE_OUTFILES environment variable -
swigmzrun.h
-declaremodule
-noinit
-dynamic-load
SWIGMZSCHEME 1
mzscheme.swg
mzrun.swg
caller
static Scheme_Object *
_function_loaded
_the_function
(*caller)(%s)
int lenv = 1
lenv
caller=_the_function;
values[0]
static Scheme_Object *
argv[0]
if (argc) {
$argnum
return swig_result;
", scheme_make_prim_w_arity(
scheme_add_global("
), menv);
Scheme_Object *swig_result
_wrap_const_%s
static %s =
_field_names[] = {
Scheme_Object *obj;
int i = 0;
_field_names_cnt];
, i, fields);
_swig_struct_type_
return obj;
_field_names)/sizeof(char*))
#define _swig_struct_
_field_names);
(char**) _swig_struct_
_field_names_cnt,
fields[i++]
fields[i++] =
)&((ptr)->
_swig_convert_struct_
return scheme_void;
return scheme_reload(env);
Mzscheme Options (available with -mzscheme)
-declaremodule - Create extension that declares a module
-dynamic-load ,[lib,...] - Do not link with these libraries, dynamic load them
-noinit - Do not emit module initialization code
-prefix - Set a prefix to be prepended to all names
*** Unable to open 'mzrun.swg'
int argc, Scheme_Object **argv
static int _function_loaded=(1==0)
static void *_the_function=NULL
Scheme_Object *values[MAXVALUES]
if (!_function_loaded) { _the_function=mz_load_function("%s");_function_loaded=(1==1); }
if (!_the_function) { scheme_signal_error("Cannot load C function '%s'"); }
return SWIG_MzScheme_PackageValues(lenv, values);
SWIG_TypeClientData(SWIGTYPE%s, (void *) %s);
scheme_add_global("%s", scheme_make_prim_w_arity(%s,"%s",%d,%d),menv);
(int argc, Scheme_Object **argv) {
scheme_signal_error("No matching function for overloaded '%s'");
static Scheme_Object *%s(int argc, Scheme_Object** argv) {
Unsupported variable type %s (ignored).
static const char *_swig_struct_
static Scheme_Object *_swig_convert_struct_
Scheme_Object *fields[_swig_struct_
obj = scheme_make_struct_instance(
static Scheme_Object *_swig_struct_type_
_field_names_cnt (sizeof(_swig_struct_
= SWIG_MzScheme_new_scheme_struct(menv, "
Unsupported member variable type %s (ignored).
#ifndef SWIGMZSCHEME
#define SWIGMZSCHEME
#endif
#define SWIG_MZSCHEME_CREATE_MENV(env) scheme_primitive_module(scheme_intern_symbol("%s"), env)
#define SWIG_MZSCHEME_CREATE_MENV(env) (env)
scheme_finish_primitive_module(menv);
Scheme_Object *scheme_initialize(Scheme_Env *env) {
mz_set_dlopen_libraries("%s");
Scheme_Object *scheme_module_name(void) {
return scheme_intern_symbol((char*)"%s");
return scheme_make_symbol((char*)"%s");
8MZSCHEME
swigocamlrun.h
CAMLparam0();
tmap:ignore:next
tmap:ignore
nc_tmp_%s
= const_cast< %s >(%s)
director_%s
Swig::Director *
= Val_unit
CAML_VALUE
if (!%s) {
%s = %s->swig_get_self();
swig_result = Val_unit;
args = Val_unit;
CAMLreturn_type(*c_result);
CAMLreturn0;
obj%d
CAMLreturn_type(%s);
ocamlrun.swg
-where
-suffix
SWIGOCAML 1
ocaml.i
director_core_helper
_xx_plus
_xx_minus
_xx_ldbrace
_xx_rdbrace
_xx_not
_xx_mod
_xx_xor
_xx_star
_xx_amp
_xx_or
_xx_lparen
_xx_rparen
_xx_lbrace
_xx_rbrace
_xx_bnot
_xx_equals
_xx_slash
_xx_dot
let %s clst = _%s clst
val %s : c_obj -> c_obj
"~", %s ;
"%s", %s ;
SWIGEXT CAML_VALUE
CAML_VALUE args
CAMLparam1(args)
caml_list_nth(args,%d)
$ntype
CAML_VALUE *argv
free(argv);
Swig::Director *director = 0
bool upcall = false
upcall
upcall = (director);
feature:symname
qualified:name
feature:enumvname
if (args != Val_int(0)) {
varin/in
varout/out
CAMLreturn(swig_result);
| `%s -> _%s C_void
SWIG_CAMLlocal1(swig_result)
public:
_sizeof ())) ;
(create_class "
args) ;
", (fun args ->
"::
$classname
$normalized
$realname
$baselist
$classbody
(*Stream:
ocaml:ctor
feature:enumvalue
SWIG_ENUM_
| `%s
| `%s -> (match y with
| `%s -> C_enum (
`Int y)
mlitail
mltail
classtemplate
class_ctors
%n%v__set__
%n%v__get__
#define SWIG_MODULE "%s"
let module_name = "%s"
val module_name : string
.mli
(**
let _ = Callback.register "%s_marker" (`%s)
Swig::DirectorPureVirtualException::raise("Attempted to invoke pure virtual method %s::%s");
SWIG_CAMLlocal2(swig_result, args)
Target language argument '%s' discards const in director method %s::%s.
%s = dynamic_cast(%s);
%s = SWIG_NewPointerObj(%s, SWIGTYPE%s, 0);
swig_result = caml_swig_alloc(1,C_list);
SWIG_Store_field(swig_result,0,args);
args = swig_result;
swig_result = Val_unit;
static const CAML_VALUE *swig_ocaml_func_val = NULL;
if (!swig_ocaml_func_val) {
swig_ocaml_func_val = caml_named_value("swig_runmethod");
swig_result = caml_callback3(*swig_ocaml_func_val,swig_get_self(),caml_copy_string("%s"),args);
CAMLreturn_type((%s)c_result);
Unable to use type %s as a function argument in director method %s::%s (skipping method).
CAML_VALUE error = *caml_named_value("director_except");
*** Unable to open 'ocamlrun.swg'
Ocaml Options (available with -ocaml)
-oldvarnames - Old intermediary method names for variable wrappers
-prefix - Set a prefix to be prepended to all names
-suffix - Deprecated alias for general option -cppext
-where - Emit library location
swig: warning: -suffix option deprecated. SWIG 3.0.4 and later provide a -cppext option which should be used instead.
Fatal error. SwigType_del_pointer applied to non-pointer.
membervariableHandler:sym:name
memberfunctionHandler:sym:name
SWIG_CAMLlocal2(swig_result,rv)
if (caml_list_length(args) < %d || caml_list_length(args) > %d) {
if (caml_list_length(args) > %d) {
caml_invalid_argument("Incorrect number of arguments passed to '%s'");
if (caml_list_length(args) > 0) caml_invalid_argument("'%s' takes no arguments");
Unable to handle type %s (%s).
swig_result = caml_list_append(swig_result,rv);
free(argv);
CAMLreturn(%s(args));
(CAML_VALUE args) {
CAMLparam1(args);
int i;
int argc = caml_list_length(args);
argv = (CAML_VALUE *)malloc( argc * sizeof( CAML_VALUE ) );
for( i = 0; i < argc; i++ ) {
argv[i] = caml_list_nth(args,i);
caml_failwith("Wrong number or type of arguments for overloaded function '%s'.\n"
" Possible C/C++ prototypes are:\n"%s);
external %s_f : c_obj list -> c_obj list = "%s" ;;
let %s arg = match %s_f (%s(fnhelper arg)) with
[] -> C_void
| [x] -> (if %s then Gc.finalise
(fun x -> ignore ((invoke x) "~" C_void)) x) ; x
| lst -> C_list lst ;;
director = dynamic_cast(arg1);
external _%s : c_obj -> Swig.c_obj = "%s"
val _%s : c_obj -> Swig.c_obj
if y = (get_int (_%s C_void)) then `%s else
external _%s : c_obj -> c_obj = "%s"
SWIGEXT CAML_VALUE %s(CAML_VALUE args) {
caml_failwith("accessing abstract class or protected constructor");
SwigDirector_%s::SwigDirector_%s(CAML_VALUE self) : Swig::Director(self) { }
SwigDirector_%s(CAML_VALUE self);
%s::%s: %s, Swig::Director(self) { }
SWIGEXT CAML_VALUE _wrap_%s_sizeof( CAML_VALUE args ) {
CAMLparam1(args);
CAMLreturn(Val_int(sizeof(%s)));
external __%s_sizeof : unit -> int = "_wrap_%s_sizeof"
"sizeof" , (fun args -> C_int (__
"[%s]", (fun args -> if args = (C_list [ raw_ptr ]) then _%s args else _%s args) ;
"[%s]", (fun args -> if args = (C_list [ raw_ptr ]) then _%s args else C_void) ;
let _ = Callback.register "%s_marker" (`%s)
let _ = Callback.register "%s_marker" (`%s)
| `Int x -> Swig.C_int x
| _ -> raise (LabelNotFromThisEnum v))
caml_list_nth(args,0) != Val_unit
#ifndef SWIGOCAML
#define SWIGOCAML
#endif
let enum_to_int x (v : c_obj) =
match v with
C_enum _y ->
(let y = _y in match (x : c_enum_type) with
`unknown -> (match y with
`Int x -> (Swig.C_int x)
| _ -> raise (LabelNotFromThisEnum v))
let int_to_enum x y =
match (x : c_enum_type) with
`unknown -> C_enum (`Int y)
open Swig
type c_enum_type = [
`unknown
type c_enum_value = [
`Int of int
(* ----------------------------------------------------------------------------
* ---------------------------------------------------------------------------- *)
) | _ -> (C_int (get_int v))
let _ = Callback.register "%s_enum_to_int" enum_to_int
val enum_to_int : c_enum_type -> c_obj -> Swig.c_obj
let _ = Callback.register "%s_int_to_enum" int_to_enum
val int_to_enum : c_enum_type -> int -> c_obj
#define SWIG_init f_%s_init
external f_init : unit -> unit = "f_%s_init" ;;
let _ = f_init ()
type c_obj = c_enum_value c_obj_t
5OCAML
swigoctaverun.h
-globals
-opprefix
-cppcast
-nocppcast
cvar
SWIGOCTAVE 1
octave.swg
octrun.swg
SWIG_POINTER_IMPLICIT_CONV
octave_value tmpv
tmap:directorin:parse
args.append(tmpv);
octave_value_list args
octave_value_list out
idx.push_back(args);
if (out.length()<%d) {
out(%d)
tmap:directorout:implicitconv
feature:implicitconv
$implicitconv
return (%s) c_result;
return (%s) *c_result;
synopsis
cdecl_info
args_info
SWIG_DEFUN( %s, %s, %s ) {
args(0)
tmap:varin:implicitconv
return octave_value_list();
octave_value obj
return obj;
{"%s",0,%s,%s,2,0},
std::string()
%s_texinfo
feature:docstring
feature:autodoc
tmap:doc
tmap:doc:name
tmap:doc:type
tmap:doc:value
@var{?}
nullptr
TRUE
%s is of type %s.
@var{retval} =
tmap:in:implicitconv
hidden
if (%d - Set used to access C global variables [default: 'cvar']
Use '.' to load C global variables into module namespace
-opprefix - Prefix for global operator functions [default: 'op_']
Deprecated command line option: %s. This option is now always on.
Deprecated command line option: %s. This option is no longer supported.
*** Unable to open 'octrun.swg'
std::list idx
idx.push_back(octave_value_list("%s"));
out=swig_get_self()->subsref(".(",idx,%d);
Swig::DirectorTypeMismatchException::raise("Octave method %s.%s failed to return the required number of arguments.");
Unable to use return type %s in director method %s::%s (skipping method).
if (!SWIG_check_num_args("%s_set",args.length(),1,1,0)) return octave_value_list();
return octave_set_immutable(args,nargout);
Unable to read variable of type %s
@deftypefn {Loadable Function}
%s@var{retval} is of type %s.
static octave_value_list %s (const octave_value_list& args, int nargout) {
if (!SWIG_check_num_args("%s",args.length(),%i,%i,%i)) {
SWIG_fail;
if (SWIG_CheckImplicit(%s)) SWIG_fail;
octave_value_list *_outp=&_out
if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
error("No matching function for overload");
upcall = !!dynamic_cast(arg1);
error("accessing abstract class or protected constructor");
SwigDirector_%s::SwigDirector_%s(void* self) :
Swig::Director((octave_swig_type*)self,static_cast<%s*>(this)) {
SwigDirector_%s(octave_swig_type* self);
%s::%s: %s,
Swig::Director(static_cast<%s*>(this)) {
static swig_octave_member swig_
error("disown takes no arguments");
return octave_value_list();
static const swig_type_info *swig_
static swig_octave_class _wrap_class_
swig_%s_members,swig_%s_base_names,swig_%s_base };
if (!SWIG_Octave_LoadModule("%s")) return false;
#ifndef SWIGOCTAVE
#define SWIGOCTAVE
#endif
#define SWIG_name_d "%s"
#define SWIG_global_name "%s"
#define SWIG_op_prefix "%s"
static const struct swig_octave_member swig_globals[] = {
static bool SWIG_init_user(octave_swig_type* module_ns)
static const char* %s_texinfo =
6OCTAVE
tmap:typecheck:SWIGTYPE
using %s instead.
as it is shadowed by %s.
implicitconvtypecheckoff
unsigned long _index = 0;
SWIG_TypeRank _rank = 0;
dispatch:
switch(_index) {
if (%s == %d) {
SWIG_TypeRank _ranki = 0;
SWIG_TypeRank _rankm = 0;
SWIG_TypeRank _pi = 1;
int _v = 0;
if (%s > %d) {
if (!_v) goto check_%d;
_ranki += _v*_pi;
_rankm += _pi;
_pi *= SWIG_MAXCASTRANK;
tmap:in:SWIGTYPE
$commaargs
check_%d:
$numargs
feature:fastdispatch
wrap:this
int _v;
if (%s <= %d) {
if (_v) {
Overloaded method %s not supported (incomplete type checking rule - no precedence level in typecheck typemap for '%s').
Overloaded method %s ignored,
using non-const method %s instead.
Overloaded method %s effectively ignored,
if ((%s >= %d) && (%s <= %d)) {
Overloaded method %s with no explicit typecheck typemap for arg %d of type '%s'
if (!_index || (_ranki < _rank)) {
_rank = _ranki; _index = %d;
if (_rank == _rankm) goto dispatch;
swigperlrun.h
{"%s::%s", %s},
dSP;
LEAVE;
FREETMPS;
PUTBACK;
XPUSHs(&PL_sv_yes);
XPUSHs(self);
PUSHMARK(SP);
SAVETMPS;
ENTER;
, SWIG_SHADOW);
%s::~%s() noexcept {%s}
%s::~%s() throw() {%s}
%s::~%s() {%s}
SV *%s
SV *swigself
XPUSHs(swigself);
$shadow
SV *
XPUSHs(
%s = SWIG_DIRECTOR_CAST(%s);
SvREFCNT_inc((SV *)%s);
XPUSHs(sv_2mortal(%s));
if (SvTRUE(ERRSV)) {
SV *output
if (count != %d) {
SPAGAIN;
%s = POPs;
output = POPs;
swig_set_inner("%s", true);
swig_set_inner("%s", false);
ERRSV
SWIGPERL 1
SWIGPERL5 1
perl5.swg
-interface
-exportall
-static
-const
-nopm
-compat
perlhead.swg
perlerrors.swg
perlrun.swg
int argvi = 0
argvi
if (items < %d) {
ST(%d)
if (items > %d) {
ST(argvi)
perl5:proxy
SWIG_SHADOW
_saved[%d]
_saved[%d] = %s;
_saved
SWIG_OWNER
directorfree
SWIG_croak_null();
XSRETURN(argvi);
dXSARGS
XSRETURN(0);
if (items >= %d) {
tie %__
_hash;
my %__
bless $
= \%__
", $
_hash,"
() { $
sub
$%s
MAGIC_PPERL
return 1;
return 1;
return 0;
tmap:varout:type
", MAGIC_CLASS
items
perl5:directordisown
, (void*) "
package
##############
############# Class :
use overload
"fallback" => 1;
__eq__
__ne__
__str__
__plusplus__
__minmin__
__add__
__sub__
__mul__
__div__
__mod__
__gt__
__ge__
__not__
__lt__
__le__
__pluseq__
__mineq__
__neg__
Unknown operator: %s
@ISA = qw(
%%OWNER = ();
%%ITERATORS = ();
%s%s($self);
my $self = shift;
sub DISOWN {
$OWNER{$ptr} = 1;
my $ptr = tied(%$self);
sub ACQUIRE {
delete $OWNER{$ptr};
swig_get_attr
my ($self,$field) = @_;
sub FETCH {
my $h =
sub STORE {
return $self->$member_func;
return $h->{$field} if $h;
feature:shadow
my $self = tied(%{$_[0]});
sub DESTROY {
delete $OWNER{$self};
if (exists $OWNER{$self}) {
delete $ITERATORS{$self};
return unless defined $self;
$_[0]
perl5:constructorHandler
sub new {
my $pkg =
(@_);
my $self =
_get = *
_set = *
__assign__
__and__
__or__
Unable to locate file %s
require %s;
#define SWIG_CASTRANK_MODE
#include