Initialize the PBCallInfo structure

PowerBuilder Native Interface

Initialize the PBCallInfo structure

   // PBCallInfo contains arguments and return value
   PBCallInfo ci;

   // To call the class member function f_mult,
   // pass its signature as the last argument
   // to GetMethodID
   pbmethodID mid = session->GetMethodID(cls, "f_mult",
      PBRT_FUNCTION, "III");

   // Initialize call info structure based on method ID
   session->InitCallInfo(cls, mid, &ci);
   pbmethodID mid = session->FindMatchingFunction(cls,
      "f_mult", PBRT_FUNCTION, "int, int");