[MacRuby-devel] Pointer.new_with_type("v")-is-unsized shocker

Carlo Zottmann carlo at zottmann.org
Sat Jan 16 10:29:45 PST 2010


Hi guys,

I just noticed that in 0.5b2 on Snopard,

> Pointer.new_with_type("v")

(void) results in a

> Assertion failed: (Ty->isSized() && "Cannot getTypeInfo() on a type that is unsized!"), function getTypeSizeInBits, file TargetData.cpp, line 397.
> Abort trap

error. Unfortunately I need a void-type pointer for
`SecKeychainAddGenericPassword` calls. Any ideas about what I am doing
wrong or how to work around this issue?

Thanks,
Carlo

-- 
Carlo Zottmann
Munich, Germany.  --  http://carlo.zottmann.org

TwerpScan -- Anti-Fool Twitter Contact Management Tool. http://twerpscan.com/


More information about the MacRuby-devel mailing list