Working with ActionScript primitive types

In your native functions, an input parameter can correspond to a primitive ActionScript type. All native function parameters are of type FREObject. Therefore, to work with an ActionScript primitive type input parameter, you get the ActionScript value of the FREObject parameter. You store the value in a corresponding primitive C data type variable. Use the following C API functions:

If an output parameter or return value corresponds to a primitive ActionScript type, you create the ActionScript primitive using a C API function. You provide a pointer to an FREObject variable and the value of the primitive in a C data variable. The runtime creates the ActionScript primitive and sets the FREObject variable to correspond to it. Use the following C API functions:

// Ethnio survey code removed