Angelscript and C#,
Moderators - Reputation: 4362
Posted 11 May 2004 - 11:18 AM
There is also the difference between C# compiled to intermediate code, and C# compiled to machine code. How would this affect AngelScript? I don''t know.
www.AngelCode.com - game development and more...
AngelScript - free scripting library - Tower - free puzzle game
Members - Reputation: 968
Posted 12 May 2004 - 02:41 AM
Original post by WitchLord
I cannot say. I don''t know how function pointers work in C#. If there is a way to take the pointer of a function in C# then I think it would only be a matter of wrapping AngelScript in a more .NET friendly shell.
The .NET interop marshaller will marshal a .NET/C# delegate as a function pointer to unmanaged code via P/Invoke. See http://msdn.microsoft.com/library/en-us/cpguide/html/cpconusingcallbackfunctions.asp
AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.
[Project site] [Blog] [RSS] [Browse the source] [IRC channel]