Maybe I can reuse the existing parameter stuff around #cCall: for inbound calls.

If you want to warm up with that code, you might start converting this part of it to Smalltalk:

  desc->returnType = classify_type_symbol (returnTypeOOP, true);
  if (desc->returnType == _gst_nil_oop)
    goto error;

  for (i = 1; i <= numArgs; i++)
    {
      OOP type;
      type = desc->argTypes[i - 1] =
        classify_type_symbol (ARRAY_AT (argsOOP, i), false);
      if (type == _gst_nil_oop)
        goto error;
    }

... together with symbol_type_map, type_map, classify_type_symbol.

Paolo


_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to