Forums > Dev

Assist method prototype

July 6, 2010 | 6:34 am

Just writing some object doc and came to wonder what the second parameter in the assist function is (the void *b).

void object_assist(objectstruct *x, void *b, long type, long pos, char *s)

Anyone know? I could not immediately find it in the API.


July 6, 2010 | 11:37 am

It is historical; you can (and should) just ignore it.

Cheers,
Tim


July 6, 2010 | 12:24 pm

Thanks for clearing that up.

For the record, mouse-over assist doesn’t work but crashes Max if the parameter is omitted.


Viewing 3 posts - 1 through 3 (of 3 total)