ah, it was a macro indeed.
shoes_##ele##_get_top(VALUE self) in ruby.c

Thanks,
Joel

On Tue, Apr 7, 2009 at 6:29 PM, Joel Fernandes <[email protected]> wrote:
> Hi,
> I've been spending some time lately trying to get my head around a bit
> of shoes' internals.
> I see that the function shoes_canvas_get_top is declared in canvas.h
> and bound to the ruby method top for Canvas in ruby.c.
>
> But, where is this function defined? I couldn't find it in canvas.c,
> or any other source file.
> I guess there is a preprocessor macro expanding to the definition but
> I can't seem to find one.
>
> Any help would be appreciated,
>
> Joel
>



-- 
joel

Reply via email to