[Mono-devel-list] Function name conflict
Dick Porter
dick at ximian.com
Fri Nov 19 08:44:41 EST 2004
On Fri, 2004-11-19 at 14:17 +0100, Joe Ante wrote:
> Hi,
>
> I am embedding mono in a macosx application that also uses cocoa and carbon.
> The following functions are also defined by the system framework.
>
> CreateEvent
> Sleep
> GetCurrentProcess
> GetCurrentThread
>
> I would happily provide a patch for it if it will actually be checked into
> cvs? Would you just want a mono_ prefix in front of those functions? Or what
> are the naming rules?
These functions are part of the windows compatibility code, used as
replacements on non-windows platforms. You might be able to work around
the lack of namespacing by both microsoft and apple with #defines in
your app's makefile.
- Dick
More information about the Mono-devel-list
mailing list