Accessing Arguments

To work around this , you have to use a set of API functions to force a type conversion on every argument that' s being passed (see Taulu 32-1 ) .

Taulu 32-1 .

Huomaa : Kuva 32-2 shows the output .

Kuva 32-2 .




After retrieving the parameter pointer, the parameter value is converted to a long (an integer), which also forms the return value of this function. Understanding access to the contents of the value requires a short discussion of the zval type, whose definition is shown in Esimerkki 32-2 .

Esimerkki 32-2 .




For a description of both structures , see Taulu 32-2 , Taulu 32-3 and Taulu 32-4 .

Taulu 32-2 .

See Taulu 32-3 for a description .
For a list of available types , see Taulu 32-4 .

Taulu 32-3 .

Taulu 32-4 .