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); +}