Data update
This commit is contained in:
parent
35bcdeebf8
commit
74c69a0df6
2427 changed files with 31826 additions and 3468 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* get_system_command_output.wren */
|
||||
/* Get_system_command_output.wren */
|
||||
class Command {
|
||||
foreign static output(name, param) // the code for this is provided by Go
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/* get_system_command_output.go */
|
||||
/* Get_system_command_output.go */
|
||||
package main
|
||||
|
||||
import (
|
||||
|
|
@ -29,7 +29,7 @@ func getCommandOutput(vm *wren.VM, parameters []any) (any, error) {
|
|||
|
||||
func main() {
|
||||
vm := wren.NewVM()
|
||||
fileName := "get_system_command_output.wren"
|
||||
fileName := "Get_system_command_output.wren"
|
||||
methodMap := wren.MethodMap{"static output(_,_)": getCommandOutput}
|
||||
classMap := wren.ClassMap{"Command": wren.NewClass(nil, nil, methodMap)}
|
||||
module := wren.NewModule(classMap)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue