code: def check_call(ret):
      """Check the return value of C API call
  
      This function will raise exception when error occurs.
      Wrap every API call with this function
  
      Parameters
      ----------
      ret : int
          return value from API calls
      """
      if ret != 0:
          raise_last_ffi_error()
  
imports: import ctypes
  import functools
  import os
  import re
  import sys
  import types
  from typing import Callable, Sequence, Optional
  import numpy
  from .None import libinfo
label_desc: Use image node_id 14 for calling a global function with example usage: check_call(ret) without return types