pub fn check_entity_recursion_depth(depth: c_int) -> c_int
Check if entity recursion depth exceeds limits.
Returns 0 if within limits, -1 if exceeded.