made some tests green
This commit is contained in:
parent
526be8a4cf
commit
19e57bf70d
6 changed files with 8 additions and 9 deletions
|
|
@ -1,8 +1,8 @@
|
|||
|
||||
type
|
||||
TProperty[T] = object of TObject
|
||||
getProc: proc(property: TProperty[T]): T
|
||||
setProc: proc(property: TProperty[T], value: T)
|
||||
getProc: proc(property: TProperty[T]): T {.nimcall.}
|
||||
setProc: proc(property: TProperty[T], value: T) {.nimcall.}
|
||||
value: T
|
||||
|
||||
proc newProperty[T](value: TObject): TProperty[T] =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue