Custom Query (1030 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (658 - 660 of 1030)

Ticket Resolution Summary Owner Reporter
#630 fixed Cannot apply inline function with optional argument Gary Byers Patrick Stein
Description

I am using CCL 1.4-r13119 (LinuxX8632)

cl-opengl includes the following code:

(defmacro definline (name args &body body)
  `(progn
     (declaim (inline ,name))
     (defun ,name ,args ,@body)))

(definline color (r g b &optional (a 1.0))
  (%gl:color-4f r g b a))

If I try to (apply #'gl:color '(0.5 0.5 0.5 1)) inside my function, then I get the following:

Error: Too many arguments in (0.5 0.5 0.5 1).

If, instead, I try (apply #'gl:color '(0.5 0.5 0.5)), it passes NIL rather than 1.0 for the fourth argument.

I can work around it by making a non-inlined wrapper around gl:color and applying that instead.... so it's not a highy priority for me. But, it works for me on other Lisps.

It also seems to work at the REPL, but not in compiled code.

#631 fixed test ticket R. Matthew Emerson R. Matthew Emerson
Description

test ticket for commit hook

#634 fixed Can't recover trac password R. Matthew Emerson gz
Description

See http://clozure.com/pipermail/openmcl-devel/2009-November/010735.html

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.