Previous: Enums and Constants, Up: Naming Conventions [Contents][Index]
The standard SDL prefix for creating a new instance of a type is
create
. The standard Guile prefix is make
. Wherever an
SDL function uses the create
prefix we will keep it. Object
creation functions unique to Guile, such as make-rect
, will
use make
as a prefix. In addition, we will sometimes introduce
higher-level creation functions, such as make-surface
,
which is a wrapper to create-rgb-surface
which provides
useful default values from the current screen information.