chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] feature patch: preserving argument names in foreign-la


From: Kristian Lein-Mathisen
Subject: [Chicken-hackers] feature patch: preserving argument names in foreign-lambda and friends
Date: Sun, 30 Sep 2012 02:50:15 +0200


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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]