ext/cs__common/cs__common.h in contrast-agent-3.12.2 vs ext/cs__common/cs__common.h in contrast-agent-3.13.0
- old
+ new
@@ -14,10 +14,11 @@
static VALUE cs__alias_method_sym;
extern VALUE contrast, agent, patching, policy, assess;
extern VALUE core_extensions, core_assess;
extern VALUE assess_policy, assess_propagator;
+extern VALUE funchook_path;
extern VALUE rb_sym_enter_scope;
extern VALUE rb_sym_exit_scope;
extern VALUE rb_sym_in_scope;
extern VALUE rb_sym_skip_contrast_analysis;
@@ -29,9 +30,11 @@
static VALUE rb_sym_instance_method;
static VALUE rb_sym_register_c_patch;
static VALUE rb_sym_alias_instance;
static VALUE rb_sym_alias_singleton;
static VALUE rb_sym_prepend;
+
+void patch_via_funchook(void *original_function, void *hook_function);
void contrast_alias_method(const VALUE target, const char *to,
const char *from);
VALUE contrast_register_patch(const char *module_name,