Next Previous Up Top Contents Index

2.4 Naming and mapping conventions

2.4.1 Simple naming conventions

Type names are enclosed in angle brackets. For example, HANDLE becomes <HANDLE>.

Names of constants are prefixed by $. For example, OPAQUE becomes $OPAQUE.

Underscores are replaced by hyphens. Thus, a constant called NO_ERROR becomes $NO-ERROR and a class called LIST_ENTRY becomes <LIST-ENTRY>.

Hyphens will not be inserted between capitalized words (for example, CreateWindow does not become Create-Window) since that is a less obvious mapping that is more likely to cause confusion when switching between Dylan code and Windows documentation.


C FFI and Win 32 Reference - 31 MAR 2000

Next Previous Up Top Contents Index