aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorame <[email protected]>2024-08-03 02:30:02 -0500
committerame <[email protected]>2024-08-03 02:30:02 -0500
commit76ce905ef3e93f067b6d06458186bcf9eb9b5c01 (patch)
treecbfee9fffc70d07bfd6b632e1f73b17da19d578c /docs
parent2d9c55685ef75b8cf2cbc4eabd4b2875a354acba (diff)
fix tests, module based require, thread improvments
Diffstat (limited to 'docs')
-rw-r--r--docs/readme.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/readme.md b/docs/readme.md
index c9aa7d7..26fc5cb 100644
--- a/docs/readme.md
+++ b/docs/readme.md
@@ -15,3 +15,21 @@ llib.io.pprint(llib) --pprint is a part of the io module, pprint meaning pretty
all subtables and functions have a corresponding file in this directory on usage
+you can also select just a specific module
+
+```lua
+crypto = require "lullaby.crypto"
+crypto.sha224()
+```
+
+---
+
+## big changes
+
+### __clone metamethod (todo)
+
+takes a single argument (the object to be cloned) returns a 'copy' of the object
+
+this is for cloning a object to be the same, but not share any internals
+
+created for luaI_deepcopy (see src/lua.c) too create a seperate object for the other state