[Mono-dev] Change how mono_method_get_param_names works
Rodrigo Kumpera
kumpera at gmail.com
Mon Aug 17 12:25:59 EDT 2009
Hi Paolo,
I think that mono_method_get_param_names should be changed to not require
the caller to
figure out the number of parameters. In adition to that, this function has
no way to return an
error back to the caller.
My suggestion is to change it to
MonoError mono_method_get_param_names (MonoMethod *method, char **names, int
*params)
On success names points to a g_malloc'd array of *params strings that come
from assembly memory.
On failure names and params are left untouched.
Cheers,
Rodrigo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090817/14ecd4d0/attachment.html
More information about the Mono-devel-list
mailing list