Package: gio

Macro gio:with-resources

Lambda List

gio:with-resources (vars &body body)

Syntax

(g:with-resources ((resource1 path1) ... (resourcen pathn)) body) => result

Arguments

resource1 ... resourcen -- newly created g:resource instances
path1 ... pathn -- pathnames or namestrings with the path of a file to load
body -- a body that uses the bindings resource1 ... resourcen

Details

The g:with-resources macro creates new variable bindings and executes the body that use these bindings. The macro performs the bindings sequentially, like the let* macro. See also the g:with-resource documentation.
 

See also

2024-5-12