libwren-sys 0.1.0

FFI bindings for the wren embedded programming language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
var map = {}
System.print(map.count) // expect: 0
map["one"] = "value"
System.print(map.count) // expect: 1
map["two"] = "value"
System.print(map.count) // expect: 2
map["three"] = "value"
System.print(map.count) // expect: 3

// Adding existing key does not increase count.
map["two"] = "new value"
System.print(map.count) // expect: 3