[Mono-devel-list] Emdedded mono: Finding out if we are inside a C#

Joe Ante joe at otee.dk
Mon Aug 30 10:17:43 EDT 2004


Is there a way to find out if we we are currently inside a mono function
from C?

At the moment i have a global variable that i set before entering a mono
function using mono_runtime_invoke.

int gInsideMono = 0;


It's obviously not a very good solution so i wonder if there  isn't a mono
function i can ask if we are inside a mono function?

Joachim Ante

More information about the Mono-devel-list mailing list