From: Javier Sancho Date: Wed, 16 Oct 2019 07:48:48 +0000 (+0200) Subject: Foreign functions have changed X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=44d3c48c52a16aadadbf51f97be0938dcb9a3010;p=guile-irrlicht.git Foreign functions have changed --- diff --git a/irrlicht/bindings.scm b/irrlicht/bindings.scm index f93ee7c..524dabe 100644 --- a/irrlicht/bindings.scm +++ b/irrlicht/bindings.scm @@ -32,35 +32,35 @@ (define-public get-video-driver (pointer->procedure '* - (dynamic-func "irr_IrrlichtDevice_getVideoDriver" cirr) + (dynamic-func "irr_getVideoDriver" cirr) (list '*))) (define-public get-gui-environment (pointer->procedure '* - (dynamic-func "irr_IrrlichtDevice_getGUIEnvironment" cirr) + (dynamic-func "irr_getGUIEnvironment" cirr) (list '*))) (define-public get-scene-manager (pointer->procedure '* - (dynamic-func "irr_IrrlichtDevice_getSceneManager" cirr) + (dynamic-func "irr_getSceneManager" cirr) (list '*))) (define-public set-window-caption (pointer->procedure void - (dynamic-func "irr_IrrlichtDevice_setWindowCaption" cirr) + (dynamic-func "irr_setWindowCaption" cirr) (list '* '*))) (define-public run (pointer->procedure int - (dynamic-func "irr_IrrlichtDevice_run" cirr) + (dynamic-func "irr_run" cirr) (list '*))) (define-public drop (pointer->procedure int - (dynamic-func "irr_IrrlichtDevice_drop" cirr) + (dynamic-func "irr_drop" cirr) (list '*))) diff --git a/irrlicht/bindings/gui.scm b/irrlicht/bindings/gui.scm index f86592f..387c841 100644 --- a/irrlicht/bindings/gui.scm +++ b/irrlicht/bindings/gui.scm @@ -26,11 +26,11 @@ (define-public add-static-text (pointer->procedure '* - (dynamic-func "irr_gui_IGUIEnvironment_addStaticText" cirr) + (dynamic-func "irr_gui_addStaticText" cirr) (list '* '* '* int int '* int int))) (define-public draw-all (pointer->procedure void - (dynamic-func "irr_gui_IGUIEnvironment_drawAll" cirr) + (dynamic-func "irr_gui_drawAll" cirr) (list '*))) diff --git a/irrlicht/bindings/video.scm b/irrlicht/bindings/video.scm index c77f9d9..d64e558 100644 --- a/irrlicht/bindings/video.scm +++ b/irrlicht/bindings/video.scm @@ -40,11 +40,11 @@ (define-public begin-scene (pointer->procedure int - (dynamic-func "irr_video_IVideoDriver_beginScene" cirr) + (dynamic-func "irr_video_beginScene" cirr) (list '* int int '* '* '*))) (define-public end-scene (pointer->procedure int - (dynamic-func "irr_video_IVideoDriver_endScene" cirr) + (dynamic-func "irr_video_endScene" cirr) (list '*)))