Exemplo n.º 1
0
/**
 * mono_code_manager_new_dynamic:
 *
 * Creates a new code manager suitable for holding native code that can be
 * used for single or small methods that need to be deallocated independently
 * of other native code.
 *
 * Returns: the new code manager
 */
MonoCodeManager* 
mono_code_manager_new_dynamic (void)
{
	MonoCodeManager *cman = mono_code_manager_new ();
	cman->dynamic = 1;
	return cman;
}
Exemplo n.º 2
0
/**
 * mono_code_manager_new_dynamic:
 *
 * Creates a new code manager suitable for holding native code that can be
 * used for single or small methods that need to be deallocated independently
 * of other native code.
 * BIND_SIZE is the amount of memory reserved for storing thunks. If its 0,
 * the default size is used.
 *
 * Returns: the new code manager
 */
MonoCodeManager* 
mono_code_manager_new_dynamic (int bind_size)
{
	MonoCodeManager *cman = mono_code_manager_new ();
	cman->dynamic = 1;
	cman->bind_size = bind_size;
	return cman;
}