On Fri, Apr 1, 2011 at 10:32 PM, Alex Burr <[email protected]> wrote:

> I've always wondered why you couldn't just automate the way you have to do
> this
> in C: have a generic version of the function with hidden parameters
> containing
> the various necessary
> lengths and offsets...


You can. The catch is that the first thing you'll need is offsets into the
frame record to determine where each argument starts. It's really quite
expensive.

A better approach, I think, would be to do some form of metacompilation for
this sort of thing.
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to