scriptup
Advanced tools
+4
-0
@@ -162,2 +162,6 @@ #include <stdbool.h> | ||
| { | ||
| if (rb_obj_is_kind_of(self, rb_path2class(SKETCHUP_MATERIALS))) | ||
| return Qnil; | ||
| if (rb_obj_is_kind_of(self, rb_path2class(SKETCHUP_DEFINITIONLIST))) | ||
| return Qnil; | ||
| SUEntityRef entity = {DATA_PTR(self)}; | ||
@@ -164,0 +168,0 @@ struct AttributeDictionaryIterationContext attribute_dictionary_struct = {argv[0], SU_INVALID}; |
+1
-1
@@ -30,3 +30,3 @@ require 'mkmf' | ||
| $DLDFLAGS.gsub!('-Wl,-multiply_defined,suppress', '') | ||
| $DLDFLAGS << ' -Wl,-ld_classic' | ||
| $DLDFLAGS << ' -Wl' | ||
| $DLDFLAGS << " -F#{sdk_path} -framework SketchUpAPI" | ||
@@ -33,0 +33,0 @@ $DLDFLAGS << " -Wl,-rpath,#{sdk_path}" |