This commit is contained in:
nub31
2026-02-10 22:26:18 +01:00
parent d0c31ad17f
commit 576abe1240
12 changed files with 308 additions and 26 deletions

BIN
examples/math/.build/out.a Normal file

Binary file not shown.

View File

@@ -0,0 +1,24 @@
#include <float.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdbool.h>
#include <stdint.h>
struct nub_core_string
{
const char *data;
int length;
};
int32_t nub_math_add_cc3fc9d68812b10d(int32_t, int32_t);
int32_t nub_math_add_cc3fc9d68812b10d(int32_t a, int32_t b)
{
{
return (a + b);
}
}

Binary file not shown.

BIN
examples/math/.build/out.o Normal file

Binary file not shown.

6
examples/math/math.nub Normal file
View File

@@ -0,0 +1,6 @@
module math
export func add(a: i32 b: i32): i32
{
return a + b
}