Unfortunately, ctypes does not implement the Enumeration type. It can be done by hand via c_int, however, I don't think that buys us anything.
John On Dec 29, 2011, at 11:55 AM, Glenn Lagasse wrote: > Hey Dave, > > * Dave Miner ([email protected]) wrote: >> On 12/29/11 14:27, Glenn Lagasse wrote: >>> Webrev: >>> >>> https://cr.opensolaris.org/action/browse/caiman/glagasse/7078564/webrev/ >>> >>> CR: >>> >>> http://monaco.us.oracle.com/detail.jsf?cr=7078564 >>> >>> The slim_source gate compiles cleanly with these changes (as I would >>> expect given their benign nature). The file remains pep8 clean. >>> >> >> So what's our long-term plan to prevent this sort of bug in the future? > > Thinking out loud, I'd expect that the issue goes away when beadm/libbe > is rewritten into pure python (removing the libbe C library/headers) and > thus install_target would consume the new beadm/libbe implementation as > a python module which of course would contain this sort of stuff > directly. > > Glenn > _______________________________________________ > caiman-discuss mailing list > [email protected] > http://mail.opensolaris.org/mailman/listinfo/caiman-discuss _______________________________________________ caiman-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

