Fix comments [ci skip]
Lars Kanis
4 years ago
129 | 129 | * These objects are allocated by FXRuby on the heap. |
130 | 130 | * They are free'd when the FXRuby wrapper is GC'ed and no other reference to the object exists. |
131 | 131 | * They are registered in FXRbObjRegistry as owned object. |
132 | * Tey are built per FXRbRegisterRubyObj(). | |
132 | * They are built per FXRbRegisterRubyObj(). | |
133 | 133 | * |
134 | 134 | * Borrowed objects : |
135 | 135 | * These objects are allocated by libfox on the heap. |
144 | 144 | * They are wrapped for the time of one callback only, because stack memory is free'd afterwards. |
145 | 145 | * They are not registered in FXRbObjRegistry, but stored on the stack only. |
146 | 146 | * Therefore callback objects aren't re-used, but newly wrapped for each call. |
147 | * This is for arguments to ruby blocks. | |
147 | * The same goes for arguments to ruby blocks. | |
148 | 148 | * They are built per FXGetRubyObjCb(). |
149 | 149 | */ |
150 | 150 |