Patch by Joel Reed that implements a few network interface counters
[mono.git] / mono / metadata / opcodes.h
index f83cd614450771e5f0f0b4381a88d8e283d03034..7aa31a3427e8775c12fa3877d6d7263eb03b216d 100644 (file)
@@ -12,6 +12,8 @@
 
 #include <glib.h>
 
+G_BEGIN_DECLS
+
 #define MONO_CUSTOM_PREFIX 0xf0
 
 #define OPDEF(a,b,c,d,e,f,g,h,i,j) \
@@ -61,9 +63,13 @@ typedef struct {
 } MonoOpcode;
 
 extern const MonoOpcode mono_opcodes [];
-extern const char* const mono_opcode_names [];
+
+const char*
+mono_opcode_name (int opcode);
 
 MonoOpcodeEnum
 mono_opcode_value (const guint8 **ip, const guint8 *end);
 
+G_END_DECLS
+
 #endif /* __MONO_METADATA_OPCODES_H__ */