summaryrefslogtreecommitdiff
path: root/spec/ruby/library/getoptlong/shared/get.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/getoptlong/shared/get.rb')
0 files changed, 0 insertions, 0 deletions
Fix Visual C warnings: ``` regenc.h(121): warning C4067: unexpected tokens following preprocessor directive - expected a newline ``` Cast up `int` instruction code to `VALUE` Fix Visual C warnings: ``` iseq.c(3793): warning C4312: 'type cast': conversion from 'int' to 'void *' of greater size iseq.c(3794): warning C4312: 'type cast': conversion from 'int' to 'void *' of greater size ``` Do not let files depend on a phony target Detect `clock_gettime` and `clock_getres` for winpthreads 2025-07-14merge revision(s) 097d742a1ed53afb91e83aef01365d68b763357b: [Backport #20009]Takashi Kokubun [Bug #20009] Support marshaling non-ASCII name class/module 2025-03-12[Bug #19841] Refine error on marshaling recursive USERDEFNobuyoshi Nakada 2024-06-02Eliminate internal uses of `Data_Wrap_Struct`Jean Boussier Ref: https://github.com/ruby/ruby/pull/10872 These should be the last internal uses of the old `Data` API inside Ruby itself. Some use remain in a couple default gems. 2024-05-12[Bug #20481] Check for unmarshaling ivarNobuyoshi Nakada Prohibit setting instance variables of existing classes and modules via link. 2024-03-06Refactor VM root modulesJean Boussier This `st_table` is used to both mark and pin classes defined from the C API. But `vm->mark_object_ary` already does both much more efficiently. Currently a Ruby process starts with 252 rooted classes, which uses `7224B` in an `st_table` or `2016B` in an `RArray`. So a baseline of 5kB saved, but since `mark_object_ary` is preallocated with `1024` slots but only use `405` of them, it's a net `7kB` save. `vm->mark_object_ary` is also being refactored. Prior to this changes, `mark_object_ary` was a regular `RArray`, but since this allows for references to be moved, it was marked a second time from `rb_vm_mark()` to pin these objects. This has the detrimental effect of marking these references on every minors even though it's a mostly append only list. But using a custom TypedData we can save from having to mark all the references on minor GC runs. Addtionally, immediate values are now ignored and not appended to `vm->mark_object_ary` as it's just wasted space. 2024-03-06Move FL_SINGLETON to FL_USER1Jean Boussier This frees FL_USER0 on both T_MODULE and T_CLASS. Note: prior to this, FL_SINGLETON was never set on T_MODULE, so checking for `FL_SINGLETON` without first checking that `FL_TYPE` was `T_CLASS` was valid. That's no longer the case. 2024-02-27Use RB_SPECIAL_CONST_P instead of rb_special_const_pPeter Zhu rb_special_const_p returns a VALUE (Qtrue or Qfalse), so we shouldn't assume that Qfalse is 0. We should instead use RB_SPECIAL_CONST_P. 2024-02-15Do not include a backtick in error messages and backtracesYusuke Endoh [Feature #16495] 2024-01-19Remove null checks for xfreePeter Zhu