// ***************************************************************************
//
//   Generated automatically by genwrapper.
//   Please DO NOT EDIT this file!
//
// ***************************************************************************

#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>

#include <OpenThreads/Mutex>

// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif

BEGIN_OBJECT_REFLECTOR(OpenThreads::Mutex)
	I_DeclaringFile("OpenThreads/Mutex");
	I_Constructor0(____Mutex,
	               "Constructor. ",
	               "");
	I_Method0(int, lock,
	          Properties::VIRTUAL,
	          __int__lock,
	          "Lock the mutex. ",
	          "0 if normal, -1 if errno set, errno code otherwise.  ");
	I_Method0(int, unlock,
	          Properties::VIRTUAL,
	          __int__unlock,
	          "Unlock the mutex. ",
	          "0 if normal, -1 if errno set, errno code otherwise.  ");
	I_Method0(int, trylock,
	          Properties::VIRTUAL,
	          __int__trylock,
	          "Test if mutex can be locked. ",
	          "0 if normal, -1 if errno set, errno code otherwise.  ");
END_REFLECTOR

