Constants

Constants are variables of scalar type whose values never change.

Functions

ARBB_VM_EXPORT arbb_error_t arbb_create_constant (arbb_context_t context, arbb_global_variable_t *out_var, arbb_type_t type, void *data, void *debug_data_ptr, arbb_error_details_t *details)
 Creates a scalar constant of the given type.

Function Documentation

ARBB_VM_EXPORT arbb_error_t arbb_create_constant ( arbb_context_t  context,
arbb_global_variable_t out_var,
arbb_type_t  type,
void *  data,
void *  debug_data_ptr,
arbb_error_details_t details 
)

Creates a scalar constant of the given type.

The data for the constant is copied in from the pointer argument passed to the data parameter.

Returns:
An error code depending on the result of the operation:

Submit feedback on this help topic

Copyright © 2010, Intel Corporation. All rights reserved.