Blender V5.0
BLI_sys_types.h File Reference
#include <stdint.h>
#include <sys/types.h>
#include <stdbool.h>
#include <stddef.h>
#include <uchar.h>

Go to the source code of this file.

Typedefs

typedef unsigned int uint
typedef unsigned short ushort
typedef unsigned long ulong
typedef unsigned char uchar

Detailed Description

A platform-independent definition of [u]intXX_t Plus the accompanying header include for htonl/ntohl

This file includes <sys/types.h> to define [u]intXX_t types, where XX can be 8, 16, 32 or 64. Unfortunately, not all systems have this file.

  • Windows uses __intXX compiler-builtin types. These are signed, so we have to flip the signs. For these rogue platforms, we make the typedefs ourselves.

Definition in file BLI_sys_types.h.

Typedef Documentation

◆ uchar

Definition at line 67 of file BLI_sys_types.h.

◆ uint

◆ ulong

Definition at line 66 of file BLI_sys_types.h.

◆ ushort

Definition at line 65 of file BLI_sys_types.h.