Merge pull request #3979 from radical/fix-xbuild-tgt
[mono.git] / mono / metadata / opcodes.h
index 60c6a53e036d605576c64753dfb4a34da920756f..d70d6f07bef754c0ad0f0b9f42dbb000b6e278a3 100644 (file)
@@ -10,7 +10,9 @@
  * (C) 2002 Ximian, Inc.
  */
 
-#include <glib.h>
+#include <mono/utils/mono-publib.h>
+
+MONO_BEGIN_DECLS
 
 #define MONO_CUSTOM_PREFIX 0xf0
 
@@ -60,12 +62,15 @@ typedef struct {
        unsigned short opval;
 } MonoOpcode;
 
-extern const MonoOpcode mono_opcodes [];
+MONO_API extern const MonoOpcode mono_opcodes [];
 
-const char*
+MONO_API const char*
 mono_opcode_name (int opcode);
 
-MonoOpcodeEnum
-mono_opcode_value (const guint8 **ip, const guint8 *end);
+MONO_API MonoOpcodeEnum
+mono_opcode_value (const mono_byte **ip, const mono_byte *end);
+
+MONO_END_DECLS
 
 #endif /* __MONO_METADATA_OPCODES_H__ */
+