[Mono-list] mono_add_internal_call function overloading

Ciunkos ciunkos at gmail.com
Sat Sep 17 08:20:14 EDT 2011


Hello, I'm wondering if it is possible to register overloaded function calls
using mono_add_internal_call. I want to use it so user can call different
constructors and overloaded methods.
This code:
mono_add_internal_call("Namescpace.Vector2::.ctor", Vector2_Constructor);
mono_add_internal_call(""Namescpace.Vector2::.ctor", Vector2_ConstructorXY);
mono_add_internal_call(""Namescpace.Vector2::.ctor",
Vector2_ConstructorValue);
Causes all constructor calls Vector2_ConstructorValue which is not what I've
expected.

--
View this message in context: http://mono.1490590.n4.nabble.com/mono-add-internal-call-function-overloading-tp3820128p3820128.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list