expr_batch_is_valid

Function expr_batch_is_valid 

Source
#[unsafe(no_mangle)]
pub extern "C" fn expr_batch_is_valid( batch: *const ExprBatch, ) -> ExprResult
Expand description

Check if a batch pointer is valid (not freed or corrupted)

§Parameters

  • batch: The batch pointer to check

§Returns

  • ExprResult with status 0 and value 1.0 if the batch is valid
  • ExprResult with error status and message describing the issue if invalid

§Safety

The pointer should have been created by expr_batch_new()