]> git.lizzy.rs Git - plan9front.git/blob - sys/src/ape/lib/utf/utfdef.h
merge
[plan9front.git] / sys / src / ape / lib / utf / utfdef.h
1 #define uchar _utfuchar
2 #define ushort _utfushort
3 #define uint _utfuint
4 #define ulong _utfulong
5 #define vlong _utfvlong
6 #define uvlong _utfuvlong
7
8 typedef unsigned char           uchar;
9 typedef unsigned short          ushort;
10 typedef unsigned int            uint;
11 typedef unsigned long           ulong;
12
13 #define nelem(x) (sizeof(x)/sizeof((x)[0]))
14 #define nil ((void*)0)