forked from TypesettingTools/Aegisub
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add idl generator as submodule and a small idl file that is already n…
…eeded
- Loading branch information
Showing
3 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "idl-generator"] | ||
path = src/automation/factories/js/idl-generator | ||
url = https://github.com/Totto16/aegisub-idl-generator.git |
Submodule idl-generator
added at
40f8be
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
type OptionalString = optional<union<string, null, undefined>> | ||
|
||
type ScriptPropertiesOption1 = arguments<string, OptionalString, OptionalString, OptionalString> | ||
|
||
object ScriptPropertiesOption2 { | ||
name: string | ||
description: OptionalString | ||
author: OptionalString | ||
version: OptionalString | ||
} | ||
|
||
type ScriptProperties = union<ScriptPropertiesOption1, arguments<ScriptPropertiesOption2>> | ||
|
||
|
||
-- c++ exported module | ||
module aegisub { | ||
version: string | ||
set_script_properties: function<ScriptProperties, void> | ||
} |