Common Lisp Package: GTK-CFFI-UTILS

README:

FUNCTION

Private

Undocumented

FIND-KEY (KEY SEQ)

MACRO

Public

BITMASK (&REST FLAGS)

Returns list from lisp values as keywords: Example: (bitmask after swapped) -> nil, when after=nil and swapped=nil -> (:after), when after=t and swapped=nil -> (:swapped), when after=nil and swapped=t -> (:after :swapped), when both are t

TEMPLATE (VARS ARGS &BODY BODY)

Universal template macro. For every ARG in ARGS binded to VARS generates body. ARGS is list. If VARS also list, then every element in ARGS is a list of the same length. BODY of template should be as of DEFMACRO. It should return list (resulting program chunk).

WITH-HASH (HASH KEY &BODY BODY)

If found KEY in HASH, return corresponding value, else use BODY to calculate the value and save to HASH. NIL values not saved

Undocumented

DEBUG-OUT (&BODY BODY)

MEMO (PLACE &BODY BODY)