Skip to content

BLGetLastError

Retrieves the last Blend2D error, or TBLResult.Success if there was none.

Definition

Unit: Blend2D

function BLGetLastError: TBLResult

Returns

TBLResult

See Also

Remarks

After this call, the last error is reset to TBLResult.Success.

This function should only be used when BLSetGetLastErrorHandler has been called. Otherwise, it always returns TBLResult.Success.

This function is not thread-safe. If Blend2D is used from multiple threads, the returned value can be from any thread.