mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 18:25:10 +00:00
[ADD/WIP] Push all the Janet changes
This is still unstable(and I still need to design/document the exposed API)! Do(n't) go and use it!
This commit is contained in:
parent
960599d983
commit
ca87972b3a
50 changed files with 3550 additions and 92 deletions
34
src/Extensions/Functions.h
Normal file
34
src/Extensions/Functions.h
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
#ifdef JANET
|
||||
|
||||
#include <janet.h>
|
||||
|
||||
#define Bind(name) Janet Janet##name(int32_t argc, Janet *argv)
|
||||
|
||||
|
||||
Bind(Milliseconds);
|
||||
Bind(CytoVersion);
|
||||
|
||||
Bind(WriteStanza);
|
||||
|
||||
Bind(CreateXMLData);
|
||||
Bind(CreateXMLTag);
|
||||
Bind(SetXMLAttr);
|
||||
|
||||
Bind(ParseJSON);
|
||||
|
||||
Bind(MatrixInvite);
|
||||
Bind(MatrixFind);
|
||||
Bind(MatrixSend);
|
||||
|
||||
Bind(StanzaInfo);
|
||||
Bind(GetKey);
|
||||
Bind(SetKey);
|
||||
|
||||
Bind(DbLock);
|
||||
Bind(DbCreate);
|
||||
Bind(DbList);
|
||||
Bind(DbExists);
|
||||
|
||||
Bind(HttpRequest);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue