Commit Graph
2 Commits
Author SHA1 Message Date
Minus 4dae4ee1cd ffi: canonical static access ffi::load (module namespace)
- '::' accesses a static/class member (here the module namespace ffi),
  '.'/':' sends to an instance.  ffi is a module, so ffi::load is the
  canonical form; the native now accepts the receiver passed by '::'.
- example, tests and README use ffi::load; '.load' still works (compat).
- 69/69 tests
2026-11-16 03:44:59 +00:00
Minus 05f31aed68 tests: dedicated ffi edge-case battery
- tests/ffi.cat: load failure, missing symbol, invalid signature and
  return type (all -> nil), pow/floor/sqrt/abs/strlen conversions,
  void return -> nil, pointer spelling, callable library
- 16 new assertions wired into run_tests.sh (69 total, all green)
- (note: '!=' is not catscript syntax; the not-equal operator is '~=')
2026-11-16 03:44:12 +00:00