lispdoc - results for with-foreign-pointer
(cffi-sys:with-foreign-pointer (var size &optional size-var) &body body)
|Function: Bind VAR to SIZE bytes of foreign memory during BODY. The pointer in VAR is invalid beyond the dynamic extent of BODY, and may be stack-allocated if supported by the implementation. If SIZE-VAR is supplied, it will be bound to SIZE during BODY.
(cffi:with-foreign-pointer-as-string (var-or-vars size &rest args) &body body)
|Function: VAR-OR-VARS is not evaluated and should be a list of the form (VAR &OPTIONAL SIZE-VAR) or just a VAR symbol. VAR is bound to a foreign buffer of size SIZE within BODY. The return value is constructed by calling FOREIGN-STRING-TO-LISP on the foreign buffer along with ARGS.
|By Bill Moorier|