Data update
This commit is contained in:
parent
35bcdeebf8
commit
74c69a0df6
2427 changed files with 31826 additions and 3468 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* dns_query.wren */
|
||||
/* DNS_query.wren */
|
||||
|
||||
class Net {
|
||||
foreign static lookupHost(host)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/* go run dns_query.go */
|
||||
/* go run DNS_query.go */
|
||||
|
||||
package main
|
||||
|
||||
|
|
@ -21,7 +21,7 @@ func lookupHost(vm *wren.VM, parameters []any) (any, error) {
|
|||
|
||||
func main() {
|
||||
vm := wren.NewVM()
|
||||
fileName := "dns_query.wren"
|
||||
fileName := "DNS_query.wren"
|
||||
methodMap := wren.MethodMap{"static lookupHost(_)": lookupHost}
|
||||
classMap := wren.ClassMap{"Net": wren.NewClass(nil, nil, methodMap)}
|
||||
module := wren.NewModule(classMap)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue