Merge pull request #3763 from akoeplinger/move-type
[mono.git] / mono / metadata / environment.h
index 4493a7db7ba3d5737a8b13a4528b9b404ef31137..360ba3baa8ad9454daf22d513a3a4d1fb39928cc 100644 (file)
 #ifndef _MONO_METADATA_ENVIRONMENT_H_
 #define _MONO_METADATA_ENVIRONMENT_H_
 
-G_BEGIN_DECLS
+#include <mono/utils/mono-publib.h>
 
-extern gint32 mono_environment_exitcode_get (void);
-extern void mono_environment_exitcode_set (gint32 value);
+MONO_BEGIN_DECLS
 
-extern MonoString* ves_icall_System_Environment_GetOSVersionString (void);
+MONO_API extern int32_t mono_environment_exitcode_get (void);
+MONO_API extern void mono_environment_exitcode_set (int32_t value);
 
-G_END_DECLS
+MONO_END_DECLS
 
 #endif /* _MONO_METADATA_ENVIRONMENT_H_ */