mantis 9125: change yengine object file version to force recompiles; Wrap calls to some framework methods to reduce exagerated yobj dependencies on local runtime, like the ones reported.

This commit is contained in:
UbitUmarov
2024-04-30 23:31:03 +01:00
parent 7c3e09f7d3
commit c39fa1e776
3 changed files with 147 additions and 100 deletions

View File

@@ -532,6 +532,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
* @param args = type/location of arguments (types match function definition)
*/
/*
public class TokenDeclInline_LLAbs: TokenDeclInline
{
public TokenDeclInline_LLAbs(VarDict ifd)
@@ -589,7 +590,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
result.Pop(scg, errorAt, new TokenTypeFloat(null));
}
}
*/
public class TokenDeclInline_GetFreeMemory: TokenDeclInline
{
private static readonly MethodInfo getFreeMemMethInfo = typeof(XMRInstAbstract).GetMethod("xmrHeapLeft", new Type[] { });
@@ -623,6 +624,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
result.Pop(scg, errorAt, new TokenTypeInt(null));
}
}
/**
* @brief Generate code for the usual ll...() functions.