X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=gacela_misc.lisp;h=a3991d5924d9fdd666b5c4a6d2514f60f7be371a;hb=fdfb434956fca60457a18b4ab5cb0df067ec9a8b;hp=ac7b479db805ded3532e7725e0cc4bd87168a74e;hpb=a559c9a47d17f1a7ca0a4dff3edcd39449d1821e;p=gacela.git diff --git a/gacela_misc.lisp b/gacela_misc.lisp index ac7b479..a3991d5 100755 --- a/gacela_misc.lisp +++ b/gacela_misc.lisp @@ -14,7 +14,6 @@ ;;; You should have received a copy of the GNU General Public License ;;; along with this program. If not, see . - (in-package :gacela) (defconstant INFINITY MOST-POSITIVE-LONG-FLOAT) @@ -69,14 +68,6 @@ (t (power (* p 2) n))))) (power 1 n))) -(defmacro mapcconst (type c-type name) - `(progn - (defcfun ,(concatenate 'string c-type " gacela_" name " (void)") 0 - ,(concatenate 'string "return " name ";")) - (defentry ,(intern (string-upcase name)) () - (,type ,(concatenate 'string "gacela_" name))))) - - ;Geometry (defun dotp (dot) (match-pattern dot '(0 0)))