Move utf, fmt. Small header file changes.

This commit is contained in:
rsc 2004-02-29 22:11:15 +00:00
parent 5a8e63b2f0
commit 91c13e54b5
73 changed files with 5771 additions and 3 deletions

14
src/lib9/utf/utfdef.h Normal file
View file

@ -0,0 +1,14 @@
#define uchar _utfuchar
#define ushort _utfushort
#define uint _utfuint
#define ulong _utfulong
#define vlong _utfvlong
#define uvlong _utfuvlong
typedef unsigned char uchar;
typedef unsigned short ushort;
typedef unsigned int uint;
typedef unsigned long ulong;
#define nelem(x) (sizeof(x)/sizeof((x)[0]))
#define nil ((void*)0)