Files
Odin/vendor/lua
Clay Murray 8caadbacf7 lua MAXSTACK should be 1000000 on 32 bits OR greater
Code only checks if 4 bytes for `rawptr` size. However lua defines the macro (that I assume the odin code is based on) as:

```
/*
@@ LUAI_IS32INT is true iff 'int' has (at least) 32 bits.
*/
#define LUAI_IS32INT	((UINT_MAX >> 30) >= 3)
```

This error broke `upvalues` because it would be looking for the wrong index for lua to find them at.
2023-05-14 14:00:38 -06:00
..
2023-04-05 15:58:06 +01:00
2023-04-05 17:26:48 +01:00

Lua in Odin

import lua "vendor:lua/5.4" // or whatever version you want

Lua packages

  • vendor:lua/5.1 (version 5.1.5)
  • vendor:lua/5.2 (version 5.2.4)
  • vendor:lua/5.3 (version 5.3.6)
  • vendor:lua/5.4 (version 5.4.2)