Skip to content

Commit 889dc26

Browse files
committed
Restore more code.
1 parent 7ca41fe commit 889dc26

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

src/mono/mono/metadata/appdomain.c

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,41 @@ mono_context_init (MonoDomain *domain)
426426
g_assert_not_reached ();
427427
}
428428

429+
/**
430+
* mono_context_set:
431+
*/
432+
void
433+
mono_context_set (MonoAppContext * new_context)
434+
{
435+
}
436+
437+
void
438+
mono_context_set_handle (MonoAppContextHandle new_context)
439+
{
440+
}
441+
442+
/**
443+
* mono_context_get:
444+
*
445+
* Returns: the current Mono Application Context.
446+
*/
447+
MonoAppContext *
448+
mono_context_get (void)
449+
{
450+
return NULL;
451+
}
452+
453+
/**
454+
* mono_context_get_handle:
455+
*
456+
* Returns: the current Mono Application Context.
457+
*/
458+
MonoAppContextHandle
459+
mono_context_get_handle (void)
460+
{
461+
return MONO_HANDLE_NEW (MonoAppContext, NULL);
462+
}
463+
429464
/**
430465
* mono_runtime_cleanup:
431466
* \param domain unused.

0 commit comments

Comments
 (0)