introduce types.h

laumann
Nov 27, 2023, 9:21 PM
LDR7IHR2F7LFIJO2DA6VRXSBZJRZNCLKH52MTL2XNFOPPNT37GVAC

Dependencies

Change contents

  • file addition: types.h (----------)
    [2.1]
    #ifndef ANI_TYPES_H
    #define ANI_TYPES_H
    /**
    * Simple typedefs for commonly used numeric types. Requires stdint.h
    * and stddef.h
    */
    typedef uint8_t u8;
    typedef uint16_t u16;
    typedef uint32_t u32;
    typedef uint64_t u64;
    typedef size_t usize;
    typedef off_t size;
    #endif