Pink 0.9

pink::python::xv2pink< T > Struct Template Reference

This class is used for C function type decomposition. It takes any type as template parameter and if it's 'xvimage*' then it returns 'pink_image'. In other cases it returns the parameter type unchanged. More...

List of all members.


Detailed Description

template<class T>
struct pink::python::xv2pink< T >

This class is used for C function type decomposition. It takes any type as template parameter and if it's 'xvimage*' then it returns 'pink_image'. In other cases it returns the parameter type unchanged.

Example:

    xv2pink<xvimage*>::type I; // I will be of 'pink_image' type
    xv2pink<float>::type I;    // I will be of 'float' type
Template Parameters:
TThe type to convert.
Returns:

The documentation for this struct was generated from the following file: