[Mono-dev] How to find extern definition for MonoIO void Lock(
kumpera at gmail.com
Mon Sep 15 16:16:22 UTC 2014
If it's an icall, it's either on that table of throw explicit calls to
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.mono at clevertrove.com> wrote:
> > From: Rodrigo Kumpera [mailto:kumpera at 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 looking for - But
> the method definition I was looking for was "Lock" which is quite a generic
> search term in hundreds of locations.
> I'd like to know how I can find that again next time I need it.
> Especially if it's some completely unrelated application (not mono source)
> where memorization isn't going to help me.
> When an "extern" specifies the dll it comes from, that makes it completely
> obvious where to look. But lots of times "extern"s don't specify a dll,
> and my best guess after that, is that the compiler / linker / something in
> Makefile or the csproj must be including it, which could be a horrible pain
> to track down. I'm hoping there's an easier or better way...
> Thanks again. Helped a bunch this time.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list