Calling RGSS functions that expect zero arguments with one or more arguments should raise error #75

Open
opened 2014-10-30 23:41:25 +00:00 by Ancurio · 0 comments
Ancurio commented 2014-10-30 23:41:25 +00:00 (Migrated from github.com)

Most wrapper functions use rb_get_args which handles this already, but this is never used in 0 argument functions (eg. Graphics.freeze).

binding-util.h in MRI has a handy rb_check_argc helper ready.

Most wrapper functions use `rb_get_args` which handles this already, but this is never used in 0 argument functions (eg. `Graphics.freeze`). binding-util.h in MRI has a handy `rb_check_argc` helper ready.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: MapleShrine/mkxp#75
No description provided.