ext/cs__common/cs__common.c in contrast-agent-3.8.5 vs ext/cs__common/cs__common.c in contrast-agent-3.9.0
- old
+ new
@@ -4,11 +4,13 @@
#include "cs__common.h"
#include <ruby.h>
/* Globals */
/* These are defined w/ `extern` in the header */
-VALUE contrast, agent, patching, policy, assess, core_extensions, core_assess;
+VALUE contrast, agent, patching, policy, assess;
+VALUE core_extensions, core_assess;
+VALUE assess_policy, assess_propagator;
VALUE rb_sym_enter_scope;
VALUE rb_sym_exit_scope;
VALUE rb_sym_in_scope;
VALUE rb_sym_skip_contrast_analysis;
@@ -48,13 +50,11 @@
patching = rb_define_module_under(agent, "Patching");
policy = rb_define_module_under(patching, "Policy");
patcher = rb_define_module_under(policy, "Patch");
+ assess_policy = rb_define_module_under(assess, "Policy");
+ assess_propagator = rb_define_module_under(assess_policy, "Propagator");
+
core_extensions = rb_define_module_under(contrast, "CoreExtensions");
core_assess = rb_define_module_under(core_extensions, "Assess");
-
- /* Ensure ScopeUtil is set on the Contrast patcher */
- VALUE utils = rb_define_module_under(contrast, "Utils");
- VALUE scopeUtil = rb_define_module_under(utils, "ScopeUtil");
- rb_extend_object(patcher, scopeUtil);
}