Artifact b90ed17caf83149cf738c82886533c352ea3561e:
- File bindings/s2/require.d/ostream.s2 — part of check-in [fdc5e1014e] at 2021-02-11 12:42:23 on branch trunk — Moved C++ and s2 bindings to bindings/{cpp,s2}. Got the C++ bindings compiling for new gcc breakage and new, stricter T-card validation. (user: stephan size: 479)
- File s2/require.d/ostream.s2 — part of check-in [f063fd4f0f] at 2021-02-08 06:15:57 on branch trunk — Updated s2 and brought old fossil bindings up to date wrt cwal/s2 changes made since then. Core s2 unit tests are inexplicably failing with a bogus(?) OOM report with this shell build, but they work in the core s2 tree and libf unit tests are passing. (user: stephan size: 479)
/** A require() module providing an "ostream" object. It overloads the << operator and sends all arguments to s2out. This module was written before the s2out keyword existed. That keyword does the same thing but does so more efficiently, making this module entirely superfluous. It is retained solely as a basic example of how to write a require.s2 module. */ affirm typeinfo(iscallable s2out); return { 'operator<<': proc(){s2out<<argv.0; return this} };