1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-11-18 15:54:54 +00:00
CC-Tweaked/projects/core-api
Jonathan Coates 8db5c6bc3a
Allow ILuaAPIs to be exposed as a module
- cc.require now uses the internal _LOADED table to get the list of
   built-in globals. This fixes several globals not showing up on the
   list (e.g. utf8), and allows us to inject more modules from the Java
   side.

 - ILuaAPI now has a getModuleName() function. This is used to inject
   the API into the aforementioned _LOADED table, allowing it to be
   "require"d.
2024-02-05 18:53:24 +00:00
..
src/main/java/dan200/computercraft/api Allow ILuaAPIs to be exposed as a module 2024-02-05 18:53:24 +00:00
build.gradle.kts Build a web-based emulator for the documentation site (#1597) 2023-10-03 09:19:19 +01:00