Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Types.h
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
2// Copyright 2026, Amlal El Mahrouss (amlal@nekernel.org)
3// Licensed under the Apache License, Version 2.0 (see LICENSE file)
4// Official repository: https://github.com/ne-app-eu/src
5
6#ifndef __NEAPP_OSTYPE_H__
7#define __NEAPP_OSTYPE_H__
8
9#include <Ne/OS.h>
10#include <SystemKit/Macros.h>
11
12#ifdef __cplusplus
13#define _ROOT_NS ::
14#else
15#define _ROOT_NS
16#endif
17
19
20typedef __UINT32_TYPE__ DWord;
21typedef __UINT16_TYPE__ Word;
22
23typedef __INT32_TYPE__ SDWord;
24typedef __INT16_TYPE__ SWord;
25
26typedef __PTRDIFF_TYPE__ PtrDiff;
27typedef __PTRDIFF_TYPE__ Offset;
28
29typedef DWord Status;
30
33
36
37typedef __UINTPTR_TYPE__ PhysAddr;
38typedef __UINTPTR_TYPE__ VirtAddr;
39
40#ifndef N_EMPTY_TEXT
41#define N_EMPTY_TEXT ""
42#endif
43
44#endif
__PTRDIFF_TYPE__ PtrDiff
Definition Types.h:26
DWord status_type
Definition Types.h:34
DWord TypeCode
a type code is used by a server to explain its status.
Definition Types.h:32
__PTRDIFF_TYPE__ Offset
Definition Types.h:27
__UINTPTR_TYPE__ VirtAddr
Definition Types.h:38
__UINT16_TYPE__ Word
Definition Types.h:21
__UINT32_TYPE__ DWord
This file is useful for a set of standaridzed types for NeAnt/Ant distros.
Definition Types.h:20
__UINTPTR_TYPE__ PhysAddr
Definition Types.h:37
DWord type_code_type
Definition Types.h:35
__INT32_TYPE__ SDWord
Definition Types.h:23
__INT16_TYPE__ SWord
Definition Types.h:24
DWord Status
Definition Types.h:29