Unit 'ctypes' Package
[Overview][Types][Index] [#rtl]

Reference for unit 'ctypes'

Common C type definitions.

uses

  System,

  

The system unit.

  unixtype;

  

Basic UNIX types.

Overview

The ctypes unit contains the definitions of commonly found C types. It can be used when interfaces to C libraries need to be defined. The types here are correct on all platforms, 32 or 64 bit.

The main advantage of using this file is to make sure that all C header import units use the same definitions for basic C types.

The h2pas program can include the ctypes unit automatically in the units it generates. The -C command-line switch can be used for this.


Documentation generated on: Oct 27 2024