ffi/com repair
Thanks to Kang Ren. The repair seems obviously correct, but I don't know how to test it (i.e., don't have a COM object that would exercise the code).
This commit is contained in:
parent
d6fa581a4c
commit
231e9b3f81
|
@ -920,7 +920,7 @@
|
|||
accum2
|
||||
(for/fold ([accum accum2]) ([i (in-range (TYPEATTR-cVars type-attr))])
|
||||
(define var-desc (GetVarDesc type-info i))
|
||||
(let-values ([(name count) (GetNames type-info (FUNCDESC-memid var-desc))])
|
||||
(let-values ([(name count) (GetNames type-info (VARDESC-memid var-desc))])
|
||||
(begin0
|
||||
(cons name accum)
|
||||
(ReleaseVarDesc type-info var-desc))))))
|
||||
|
|
Loading…
Reference in New Issue
Block a user