We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c1b308 commit 6743ec7Copy full SHA for 6743ec7
lib/rubex/ast/top_statement/klass/attached_klass.rb
@@ -132,7 +132,7 @@ def write_alloc_c_function(code)
132
def member_struct_allocations
133
c_name = @scope.find(@attached_type).c_name
134
binding.pry
135
- data->#{Rubex::POINTER_PREFIX + @attached_type} = (#{c_name}*)xmalloc(sizeof(#{c_name}));\n"
+ "data->#{Rubex::POINTER_PREFIX + @attached_type} = (#{c_name}*)xmalloc(sizeof(#{c_name}));\n"
136
end
137
138
# Actually write the dealloc function into C code.
0 commit comments