From fbc326ea96ff688dc94eb6f5b492e29b60eade6a Mon Sep 17 00:00:00 2001 From: falsycat Date: Sat, 5 Oct 2019 00:00:00 +0000 Subject: [PATCH] [add] Added package.d module for `sjplayer`. --- sjplayer/src/sjplayer/package.d | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 sjplayer/src/sjplayer/package.d diff --git a/sjplayer/src/sjplayer/package.d b/sjplayer/src/sjplayer/package.d new file mode 100644 index 0000000..3264cb2 --- /dev/null +++ b/sjplayer/src/sjplayer/package.d @@ -0,0 +1,19 @@ +/// License: MIT +module sjplayer; + +import sjscript; + +public { + import sjplayer.ElementProgramSet; +} + +/// +auto CreateContextFromText(string src, ElementProgramSet programs) { + return src.CreateScriptAst().CreateContextFromScriptAst(programs); +} +/// +auto CreateContextFromScriptAst( + ParametersBlock[] params, ElementProgramSet programs) { + // TODO: + assert(false); +}