Commit 439c735b authored by Brice Videau's avatar Brice Videau
Browse files

Fix attribute scopes.

parent d72715cd
...@@ -115,7 +115,7 @@ module ZE ...@@ -115,7 +115,7 @@ module ZE
@#{pname} = #{pname} @#{pname} = #{pname}
end end
EOF EOF
eval src class_eval src
end end
def self.add_object_array(aname, oname, fname) def self.add_object_array(aname, oname, fname)
...@@ -133,7 +133,7 @@ EOF ...@@ -133,7 +133,7 @@ EOF
@#{aname} = pArr.read_array_of_pointer(count).collect { |h| #{oname}::new(h) } @#{aname} = pArr.read_array_of_pointer(count).collect { |h| #{oname}::new(h) }
end end
EOF EOF
eval src class_eval src
end end
def self.add_array_property(aname, sname, fname) def self.add_array_property(aname, sname, fname)
...@@ -153,7 +153,7 @@ EOF ...@@ -153,7 +153,7 @@ EOF
@#{aname} = #{aname} @#{aname} = #{aname}
end end
EOF EOF
eval src class_eval src
end end
end end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment