Hi guys,

Here is a suggestion for a patch which will preserve argument-names of
foreign-lambdas* and friends. Check out the commit-message attached for
more info.

This also works with chicken-bind generated lambdas:


If I do chicken-bind on this:
cpBool cpSpaceShapeQuery(cpSpace *space, cpShape *shape,
cpSpaceShapeQueryFunc func, void *data);

And print space-shape-query procedure, the argument types are included in
the procedure-information:
#<procedure (chickmunk#space-shape-query cpSpace*12661276 cpShape*12671277
function12681278 void*12691279)>


K.

Attachment: 0001-Compiler-preserves-argument-names-in-foreign-lambda-.patch
Description: Binary data

_______________________________________________
Chicken-hackers mailing list
Chicken-hackers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to