提交 7fafb9eb 编写于 作者: A Alex Thibodeau

New method signature allows for passing of handle via parameter. Mono...

New method signature allows for passing of handle via parameter. Mono unfortunately does not recognize optional parameters.
上级 564ce19c
......@@ -1225,7 +1225,7 @@ cached_module_load (const char *name, int flags, char **err)
}
static const char*(*unity_find_plugin_callback)(const char*) = NULL;
static const char*(*unity_find_plugin_callback)(const char*, void**) = NULL;
void mono_set_find_plugin_callback (gconstpointer find)
{
......@@ -1294,7 +1294,7 @@ mono_lookup_pinvoke_call (MonoMethod *method, const char **exc_class, const char
if (unity_find_plugin_callback)
{
const char* unity_new_scope = unity_find_plugin_callback (new_scope);
const char* unity_new_scope = unity_find_plugin_callback (new_scope, NULL);
if (unity_new_scope == NULL)
{
if (exc_class)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册