diff options
author | David Robillard <d@drobilla.net> | 2015-02-24 20:07:29 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-02-24 20:07:29 +0000 |
commit | f69c75e637cc3c789a675d1811a2f632732bafc0 (patch) | |
tree | b82b69f45d6c92ae3c7000cc465ee18bfa0bbb15 /src/bindings/ingen.i | |
parent | 9d7c1e971d51561c4bb28fa1064503e5f266908f (diff) | |
download | ingen-f69c75e637cc3c789a675d1811a2f632732bafc0.tar.gz ingen-f69c75e637cc3c789a675d1811a2f632732bafc0.tar.bz2 ingen-f69c75e637cc3c789a675d1811a2f632732bafc0.zip |
Remove crusty old internal bindings.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5608 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/bindings/ingen.i')
-rw-r--r-- | src/bindings/ingen.i | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/src/bindings/ingen.i b/src/bindings/ingen.i deleted file mode 100644 index b29a61ce..00000000 --- a/src/bindings/ingen.i +++ /dev/null @@ -1,47 +0,0 @@ -%include "stl.i" -%module(directors="1") ingen -%{ -#include "ingen/CommonInterface.hpp" -#include "ingen/ClientInterface.hpp" -#include "ingen/EngineInterface.hpp" -#include "module/World.hpp" -#include "ingen_bindings.hpp" -#include "Client.hpp" -%} - -%include "../../ingen/CommonInterface.hpp" -%include "../../ingen/ClientInterface.hpp" -%include "../../ingen/EngineInterface.hpp" -%include "../../includemodule/World.hpp" -//%include "../module/module.h" -%include "ingen_bindings.hpp" - -// generate directors for all classes that have virtual methods -%feature("director"); -%feature("director") Ingen::ClientInterface; - -typedef Ingen::World World; -namespace Ingen { -%extend World { - World() { - if (!Ingen::ingen_world) { - fprintf(stderr, "ERROR: World uninitialized (running within Ingen?)\n"); - abort(); - } else { - return Ingen::ingen_world; - } - } - - void iteration() { - Ingen::script_iteration($self); - } - - /*LILVWorld lilv() { return $self->me->lilv_world; }*/ -}; - -} - - -%include "Client.hpp" - -%feature("director") Client; |