Next: important functions in ``m_pd.h'' Up: HOWTO write an External Previous: pd's message-system Contents

# pd-types

Since pd is used on several plattforms, many ordinary types of variables, like `int`, are re-defined. To write portable code, it is reasonable to use types provided by pd.

Apart from this there are many predefined types, that should make the life of the programmer simpler.

Generally, pd-types start with `t_`.

pd-type | description
`t_atom` | atom
`t_float` | floatingpoint value
`t_symbol` | symbol
`t_gpointer` | pointer (to graphical objects)
`t_int` | integer value
`t_signal` | structure of a signal
`t_sample` | audiosignal-value (floatingpoint)
`t_outlet` | outletof an object
`t_inlet` | inlet of an object
`t_object` | object-interna
`t_class` | a pd-class
`t_method` | class-method
`t_newmethod` | pointer to a constructor (new-routine)