typedef uint8_t, uint16_t, and uint32_t have been added to help some sources.

This commit is contained in:
matsutsuka 2007-11-28 09:36:06 +00:00
parent 1f1f2e12ed
commit 80f858b68b
1 changed files with 4 additions and 1 deletions

View File

@ -27,7 +27,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: z80def.h,v 1.3 2007/11/18 01:38:05 oliverschmidt Exp $
* $Id: z80def.h,v 1.4 2007/11/28 09:36:06 matsutsuka Exp $
*
*/
@ -50,6 +50,9 @@
/* Generic types. */
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned long uint32_t;
typedef unsigned char u8_t; /* 8 bit type */
typedef unsigned short u16_t; /* 16 bit type */
typedef unsigned long u32_t; /* 32 bit type */