Chromatic <[EMAIL PROTECTED]> wrote:

> Would it be easier to require that all out parameters use PMCs instead
> that are converted to their low-level types?  For example, for my
> signature of:
>       int SDLCALL TTF_SizeText(TTF_Font *font, const char *text, int *w, int
> *h);

A PMC doesn't work for int constants (or not w/o overhead). But for the
"int* w" types, a PMC wouldn't hurt - or better, yes, sounds good.

Any integer typed PMC with PMC_int_val(pmc) holding the INTVAL would do
it.

leo

Reply via email to