Popular recipes by Devan L Devan L http://code.activestate.com/recipes/users/4166311/2008-08-10T16:45:46-07:00ActiveState Code Recipesctype Enumeration class (Python)
2008-08-10T16:45:46-07:00Devan L Devan Lhttp://code.activestate.com/recipes/users/4166311/http://code.activestate.com/recipes/576415-ctype-enumeration-class/
<p style="color: grey">
Python
recipe 576415
by <a href="/recipes/users/4166311/">Devan L Devan L</a>
(<a href="/recipes/tags/ctypes/">ctypes</a>).
</p>
<p>An example Enumeration class and metaclass to declare an enumeration in ctypes.</p>