mkxp-z/binding
Wayward Heart 130375b6d8 Properly handle uninitialized and reinitialized objects
In RGSS, uninitialized disposable objects (and Fonts, sort of) are technically disposed, and other objects (Tone, Color, Rect, and Table) are created with all values set to 0. It's also possible to reinitialize them, although reinitializing disposables leaks memory.

This commit causes MiniFFI and FileInt objects to improperly raise disposed errors if used while uninitialized, but that feels acceptable to me.
2024-08-02 09:26:51 -05:00
..
audio-binding.cpp Prevent memory leaks from rb_raise 2024-08-02 09:26:51 -05:00
binding-mri-win32.h Open Windows standard file descriptors before initializing Ruby 2022-01-16 14:34:55 +02:00
binding-mri.cpp Throw exceptions for Resets and Exits instead of directly raising. 2024-08-02 09:26:51 -05:00
binding-types.h Update ancurio's copyright notice (#29) 2023-10-04 15:07:34 -04:00
binding-util.cpp Throw exceptions for Resets and Exits instead of directly raising. 2024-08-02 09:26:51 -05:00
binding-util.h Properly handle uninitialized and reinitialized objects 2024-08-02 09:26:51 -05:00
bitmap-binding.cpp Properly handle uninitialized and reinitialized objects 2024-08-02 09:26:51 -05:00
cusl-binding.cpp Prevent memory leaks from rb_raise 2024-08-02 09:26:51 -05:00
disposable-binding.h Properly handle uninitialized and reinitialized objects 2024-08-02 09:26:51 -05:00
etc-binding.cpp Properly handle uninitialized and reinitialized objects 2024-08-02 09:26:51 -05:00
filesystem-binding.cpp Prevent memory leaks from rb_raise 2024-08-02 09:26:51 -05:00
flashable-binding.h Update ancurio's copyright notice (#29) 2023-10-04 15:07:34 -04:00
font-binding.cpp Properly handle uninitialized and reinitialized objects 2024-08-02 09:26:51 -05:00
graphics-binding.cpp Throw exceptions for Resets and Exits instead of directly raising. 2024-08-02 09:26:51 -05:00
http-binding.cpp Throw exceptions for Resets and Exits instead of directly raising. 2024-08-02 09:26:51 -05:00
input-binding.cpp Throw exceptions for Resets and Exits instead of directly raising. 2024-08-02 09:26:51 -05:00
meson.build Remove basically pointless build options 2021-10-14 05:28:32 -04:00
miniffi-binding.cpp Prevent memory leaks from rb_raise 2024-08-02 09:26:51 -05:00
miniffi.cpp Bump MINIFFI_MAX_ARGS to 16 (#4) 2022-12-21 05:25:15 -05:00
miniffi.h Bump MINIFFI_MAX_ARGS to 16 (#4) 2022-12-21 05:25:15 -05:00
module_rpg.cpp Remove mruby and null bindings 2019-07-31 08:47:44 -04:00
module_rpg1.rb.xxd Remove mruby and null bindings 2019-07-31 08:47:44 -04:00
module_rpg2.rb.xxd Remove mruby and null bindings 2019-07-31 08:47:44 -04:00
module_rpg3.rb.xxd Remove mruby and null bindings 2019-07-31 08:47:44 -04:00
plane-binding.cpp Update ancurio's copyright notice (#29) 2023-10-04 15:07:34 -04:00
sceneelement-binding.h Prevent memory leaks from rb_raise 2024-08-02 09:26:51 -05:00
serializable-binding.h Prevent memory leaks from rb_raise 2024-08-02 09:26:51 -05:00
sprite-binding.cpp Prevent memory leaks from rb_raise 2024-08-02 09:26:51 -05:00
table-binding.cpp Properly handle uninitialized and reinitialized objects 2024-08-02 09:26:51 -05:00
tilemap-binding.cpp Properly handle uninitialized and reinitialized objects 2024-08-02 09:26:51 -05:00
tilemapvx-binding.cpp Properly handle uninitialized and reinitialized objects 2024-08-02 09:26:51 -05:00
viewport-binding.cpp Use signals to dispose of the children of Viewports in RGSS1 2024-01-11 10:57:00 -06:00
viewportelement-binding.h Prevent memory leaks from rb_raise 2024-08-02 09:26:51 -05:00
window-binding.cpp Prevent memory leaks from rb_raise 2024-08-02 09:26:51 -05:00
windowvx-binding.cpp Update ancurio's copyright notice (#29) 2023-10-04 15:07:34 -04:00