Microsoft.JScript and pnetlib-status

Carl-Adam Brengesjö <[email protected]>
Newsgroups gmane.comp.gnu.dotgnu.developer
Message-ID <[email protected]>
Whilst I was going thru stuff todo in Microsoft.JScript.GlobalObject I noticed 
that attributes that are marked missing in pnetlib-status are really there, 
but pnetlib-status got the wrong numbers (or the actual libs).

pnetlib-status:
	static System.String ScriptEngine()
		JSFunctionAttribute(0, 82) is Missing
	static System.Int32 ScriptEngineBuildVersion() 
		JSFunctionAttribute(0, 83) is Missing
	static System.Int32 ScriptEngineMajorVersion()
		JSFunctionAttribute(0, 84) is Missing

GlobalObject.cs:
	[JSFunction(0, JSBuiltin.Global_ScriptEngine)]
	public static string ScriptEngine()

	[JSFunction(0, JSBuiltin.Global_ScriptEngineBuildVersion)]
	public static int ScriptEngineBuildVersion()

	[JSFunction(0, JSBuiltin.Global_ScriptEngineMajorVersion)]
	public static int ScriptEngineMajorVersion()

But hey, they do have the attributes, but look here...
JSBuiltin.cs:
	Global_ScriptEngine				=  81,
	Global_ScriptEngineBuildVersion	=  82,
	Global_ScriptEngineMajorVersion	=  83,

Where pnetlib-status expects Global_ScriptEngine to have value 82 it has value 
81. And so on.

Carl-Adam Brengesjö
Sweden
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.