Retoor software development Projects Research SearchXNG
Register Sign In

15 lines
306 B
C
Raw Normal View History

feat: add backup files for rlib core modules including arena, nsock, and autocomplete Introduces initial backup snapshots of core rlib components: arena allocator with construct/new/alloc/free/reset API, nsock network socket wrapper with select-based event loop, autocomplete string list implementation, argument parser utilities, and main dispatcher for httpd/rmerge/rcov/rcase tools. Includes MIT license header and rlib.h umbrella include with 30+ submodule headers.
2025-03-20 04:16:06 +01:00
#include "rtest.h"
#include "rtypes.h"
int main() {
rtest_banner("rtypes");
uint test1 = 1000;
rassert(test1 == 1000) ulong test2 = -1000;
rassert(test2 == -1000);
byte test3 = 123;
rassert(test3 == 123);
byte test4 = 'A';
rassert(test4 == 65);
return rtest_end("");
}
Reference in New Issue Copy Permalink
2ffc9b82ed
rlib/.backup.1.rtypes.c
Response time: 45ms
Mail Licenses API