Skip to content

Commit 6743ec7

Browse files
committed
this
1 parent 4c1b308 commit 6743ec7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rubex/ast/top_statement/klass/attached_klass.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def write_alloc_c_function(code)
132132
def member_struct_allocations
133133
c_name = @scope.find(@attached_type).c_name
134134
binding.pry
135-
data->#{Rubex::POINTER_PREFIX + @attached_type} = (#{c_name}*)xmalloc(sizeof(#{c_name}));\n"
135+
"data->#{Rubex::POINTER_PREFIX + @attached_type} = (#{c_name}*)xmalloc(sizeof(#{c_name}));\n"
136136
end
137137

138138
# Actually write the dealloc function into C code.

0 commit comments

Comments
 (0)