Re: [Mono-dev] How to find extern definition for MonoIO void Lock(

2014-09-15 Thread Rodrigo Kumpera
If it's an icall, it's either on that table of throw explicit calls to register it. If it's a pinvoke, it's up to the user to specify the target library On Sat, Sep 13, 2014 at 9:54 AM, Edward Ned Harvey (mono) edward.harvey.m...@clevertrove.com wrote: From: Rodrigo Kumpera

Re: [Mono-dev] How to find extern definition for MonoIO void Lock(

2014-09-13 Thread Edward Ned Harvey (mono)
From: Rodrigo Kumpera [mailto:kump...@gmail.com] See icall-def.h Thanks. How did you know that? Since I look in there, I can very clearly see a matching method definition, and what it's connected to, and I was then able to find the implementation in source and get all the answers I was

[Mono-dev] How to find extern definition for MonoIO void Lock(

2014-09-12 Thread Edward Ned Harvey (mono)
I am trying to find the definition for this: mcs/class/corlib/System.IO/MonoIO.cs: public extern static void Lock (...) I'd like to know how the Lock() method is implemented, so I can understand the valid parameters. (I know the two ints must be = 0, but I'd like

Re: [Mono-dev] How to find extern definition for MonoIO void Lock(

2014-09-12 Thread Rodrigo Kumpera
See icall-def.h On Fri, Sep 12, 2014 at 1:08 PM, Edward Ned Harvey (mono) edward.harvey.m...@clevertrove.com wrote: I am trying to find the definition for this: mcs/class/corlib/System.IO/MonoIO.cs: public extern static void Lock (...) I'd like to know how