This module contains API functions to handle SVM library values.  
More...
This module contains API functions to handle SVM library values. 
◆ svm_value_library_get_code()
This function extracts the code contained in a library value. 
- Parameters
- 
  
    | [in] | svm | The SVM pointer passed as first argument of the callback function. |  | [in] | library | The library value to extract from. |  
 
- Returns
- The code contained in the value.
- Exceptions
- 
  
    | FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |  | FAILURE | interruption when the library parameter does not contain an library. |  
 
- See also
- svm_value_type_is_library 
- 
svm_value_type_get 
 
 
◆ svm_value_library_new()
This function creates a library value the SVM can store in its memories from a SVM_Code. 
- Parameters
- 
  
    | [in] | svm | The SVM pointer passed as first argument of the callback function. |  | [in] | code | The code of the library. |  
 
- Returns
- The library value.
- Exceptions
- 
  
    | FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |  
 
 
 
◆ svm_value_library_new_null()
This function creates a library value the SVM can store in its memories without a value. 
- Parameters
- 
  
    | [in] | svm | The SVM pointer passed as first argument of the callback function. |  
 
- Returns
- A non initialised library value.
- Exceptions
- 
  
    | FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |  
 
 
 
◆ svm_value_library_set()
This function replaces the library value by another library value. 
- Parameters
- 
  
    | [in] | svm | The SVM pointer passed as first argument of the callback function. |  | [in,out] | value | The library value to update. |  | [in] | library | The library to use for update. |  
 
- Exceptions
- 
  
    | FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |  | FAILURE | interruption when the value parameter does not contain an library. |  | FAILURE | interruption when the library parameter does not contain an library. |  | FAILURE | interruption when the value is a constant. |  
 
- See also
- svm_value_type_is_library 
- 
svm_value_type_get 
 
 
◆ svm_value_library_set_code()
This function replaces the code contained in a library value from a SVM_Code. 
- Parameters
- 
  
    | [in] | svm | The SVM pointer passed as first argument of the callback function. |  | [in,out] | value | The library value to update. |  | [in] | code | The new code value. |  
 
- Exceptions
- 
  
    | FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |  | FAILURE | interruption when the value parameter does not contain an library. |  | FAILURE | interruption when the value is a constant. |  
 
- See also
- svm_value_type_is_library 
- 
svm_value_type_get 
 
 
◆ svm_value_type_is_library()
This function checks whether a value contains a library. 
- Parameters
- 
  
    | [in] | svm | The SVM pointer passed as first argument of the callback function. |  | [in] | value | The value to be diagnosed. |  
 
- Returns
- TRUE if the value contains a library, FALSE otherwise.
- Exceptions
- 
  
    | FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |