Command: c_proc
  
Platform: 
  WIN32 , Linux
  
Syntax: 
  c_proc(i, s)
  
Description: 
  Call the C function with routine id i. i must be a valid routine
  id returned by define_c_proc. s is a sequence of argument values 
  of length n, where n is the number of arguments required by 
  the function. x will be the result returned by the function.
  
Comments: 
  If the C function does not take any arguments then s should 
  be {}.
  
Example:

      -- open user32.dll - it contains the GetClientRect C function
      user32 = open_dll("user32.dll")  
       
       -- GetClientRect is a VOID C function that takes a C int 
       -- and a C pointer as its arguments:
       GetClientRect = define_c_proc(user32, "GetClientRect", 
                                     {C_INT, C_INT})
              
              -- pass hwnd and rect as the arguments
              c_proc(GetClientRect, {hwnd, rect})

See Also: 
  c_func, define_c_proc
  
