add module.nas to safely use dylib

This commit is contained in:
ValKmjolnir
2022-03-05 21:52:29 +08:00
parent a0b341deb5
commit ca9b8581b4
6 changed files with 62 additions and 2 deletions
+1
View File
@@ -284,6 +284,7 @@ var unix=
};
# dylib is the core hashmap for developers to load their own library.
# for safe using dynamic library, you could use 'module' in stl/module.nas
var dylib=
{
# open dynamic lib.