made some tests green

This commit is contained in:
Araq 2012-07-17 08:44:04 +02:00
commit 19e57bf70d
6 changed files with 8 additions and 9 deletions

View file

@ -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] =