Jump to content

BOOL: Difference between revisions

From EDM2
Anakor (talk | contribs)
m Link to namespace
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== BOOL ==
Boolean


Boolean.
==Type==
unsigned long


== Base type ==
==C Declaration Method==
typedef unsigned


[[OS2 API:DataType:unsigned long|unsigned long]]
==Comment==
Values are:
*[[TRUE]], which is 1
*[[FALSE]], which is 0


== Values ==
==Example==
typedef unsigned long BOOL;


*[[OS2 API:Constant:TRUE|TRUE]]
==PBOOL==
*[[OS2 API:Constant:FALSE|FALSE]]
Pointer to BOOL
typedef BOOL *PBOOL;
 
[[Category:Data type]]

Latest revision as of 00:35, 9 June 2025

Boolean

Type

unsigned long

C Declaration Method

typedef unsigned

Comment

Values are:

Example

typedef unsigned long BOOL;

PBOOL

Pointer to BOOL

typedef BOOL *PBOOL;