]> git.jsancho.org Git - gacela.git/blobdiff - gacela_misc.lisp
(no commit message)
[gacela.git] / gacela_misc.lisp
index ac7b479db805ded3532e7725e0cc4bd87168a74e..8a7c2e433242b551ee3fbc6c2c229d142aaf436a 100755 (executable)
                        (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)))