minor documentation updates
This commit is contained in:
parent
442dc30922
commit
eaf00dd1fb
4 changed files with 115 additions and 3 deletions
|
|
@ -569,7 +569,7 @@ language for object types:
|
|||
type
|
||||
StdMap {.importcpp: "std::map", header: "<map>".} [K, V] = object
|
||||
proc `[]=`[K, V](this: var StdMap[K, V]; key: K; val: V) {.
|
||||
importcpp: "#[#] = #".}
|
||||
importcpp: "#[#] = #", header: "<map>".}
|
||||
|
||||
var x: StdMap[cint, cdouble]
|
||||
x[6] = 91.4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue