ext/ruby_prof/rp_method.h in ruby-prof-0.13.1 vs ext/ruby_prof/rp_method.h in ruby-prof-0.14.0
- old
+ new
@@ -4,18 +4,13 @@
#ifndef __RP_METHOD_INFO__
#define __RP_METHOD_INFO__
#include <ruby.h>
-#ifndef RUBY_VM
-#include <st.h>
-typedef st_data_t st_index_t;
-#endif
-
extern VALUE cMethodInfo;
/* A key used to identify each method */
-typedef struct
+typedef struct
{
VALUE klass; /* The method's class. */
ID mid; /* The method id. */
st_index_t key; /* Cache calculated key */
} prof_method_key_t;