Function: delete
Applicability
|
Product |
Supported (√/x) |
|---|---|
|
|
x |
|
|
x |
|
|
x |
|
|
√ |
|
|
x |
Function Usage
Deletes a specified feature from a repository. Only one feature can be deleted from the repository at a time. This API does not apply to the N:M mode.
The
Prototype
- C Prototype
1aclErroraclfvDel(aclfvFeatureInfo *featureInfo)
- Python Function
1ret = acl.fv.delete(feature_info)
Parameter Description
|
Parameter |
Description |
|---|---|
|
feature_info |
Int, address of the pointer that points to feature description. Call acl.fv.create_feature_info to create data of the aclfvFeatureInfo type in advance. |
Return Value Description
|
Return Value |
Description |
|---|---|
|
ret |
Int, error code.
|
Restrictions
- This API call automatically creates a stream for synchronous task execution within the API. When the tasks are complete, the stream is automatically destroyed.
Hardware has restrictions on the total number of streams. For details, see Function: create_stream.