<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#d4d0c8>
<DIV><FONT size=2>When I define a extension type with a attribute like 
this:</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>cdef class Foo:</FONT></DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp; cdef public char value</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>I want to the attribute "value" act as a 8 bit signed integer, 
but I get a character.</FONT></DIV>
<DIV><FONT size=2>foo = Foo()</FONT></DIV>
<DIV><FONT size=2>foo.value = 0</FONT></DIV>
<DIV><FONT size=2>will cause a exception.</FONT></DIV>
<DIV><FONT size=2>Is there another C type Pyrex supports like 
"byte"?</FONT></DIV></BODY></HTML>