X-Git-Url: https://git.jsancho.org/?p=guile-irrlicht.git;a=blobdiff_plain;f=irrlicht%2Fbase.scm;fp=irrlicht%2Fbase.scm;h=0000000000000000000000000000000000000000;hp=76a7a6bd1c725c3e1dc7b3206e3813cd58b26123;hb=d392bfc335713faab44275624d8fd78139880975;hpb=3bb58c2b45af12c0f9c9eac648e67ac6fa90e104 diff --git a/irrlicht/base.scm b/irrlicht/base.scm deleted file mode 100644 index 76a7a6b..0000000 --- a/irrlicht/base.scm +++ /dev/null @@ -1,35 +0,0 @@ -;;; guile-irrlicht --- FFI bindings for Irrlicht Engine -;;; Copyright (C) 2020 Javier Sancho -;;; -;;; This file is part of guile-irrlicht. -;;; -;;; Guile-irrlicht is free software; you can redistribute it and/or modify -;;; it under the terms of the GNU Lesser General Public License as -;;; published by the Free Software Foundation; either version 3 of the -;;; License, or (at your option) any later version. -;;; -;;; Guile-irrlicht is distributed in the hope that it will be useful, but -;;; WITHOUT ANY WARRANTY; without even the implied warranty of -;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -;;; General Public License for more details. -;;; -;;; You should have received a copy of the GNU Lesser General Public -;;; License along with guile-irrlicht. If not, see -;;; . - - -(define-module (irrlicht base) - #:use-module (oop goops) - #:use-module (system foreign) - #:export ( - irr-class - irr-pointer)) - -(define-class () - (irr-class #:init-value "") - (irr-pointer #:init-value %null-pointer #:getter irr-pointer #:init-keyword #:irr-pointer)) - -;; irr-class getter is defined in this way to avoid problems with multiple getters -;; in multiple inherited classes -(define-method (irr-class (obj )) - (slot-ref obj 'irr-class))