public static Cons cppGetMethodDefinitions(Stella_Class renamed_Class, Object [] MV_returnarray) {
    { Cons publicmemberfuncdefs = Stella.NIL;
      Cons protectedmemberfuncdefs = Stella.NIL;

      { Slot slot = null;
        Cons iter000 = renamed_Class.classLocalSlots.theConsList;

        for (;!(iter000 == Stella.NIL); iter000 = iter000.rest) {
          slot = ((Slot)(iter000.value));
          if (Surrogate.subtypeOfMethodSlotP(Stella_Object.safePrimaryType(slot))) {
            { MethodSlot slot000 = ((MethodSlot)(slot));

              if ((!slot000.slotMarkedP) &&
                  (MethodSlot.nativeMethodP(slot000) &&
                   ((!MethodSlot.cppConstructorP(slot000)) &&
                    (!MethodSlot.cppNativeMethodP(slot000))))) {
                if (slot000.slotPublicP) {
                  publicmemberfuncdefs = Cons.cons(MethodSlot.cppYieldMemberFuncSignatureTree(slot000), publicmemberfuncdefs);
                }
                else {
                  protectedmemberfuncdefs = Cons.cons(MethodSlot.cppYieldMemberFuncSignatureTree(slot000), protectedmemberfuncdefs);
                }
              }
            }
          }
          else {
          }
        }
      }
      { MethodSlot method = null;
        Cons iter001 = renamed_Class.classAuxiliaryMethods().theConsList;

        for (;!(iter001 == Stella.NIL); iter001 = iter001.rest) {
          method = ((MethodSlot)(iter001.value));
          if (method.slotPublicP) {
            publicmemberfuncdefs = Cons.cons(MethodSlot.cppYieldMemberFuncSignatureTree(method), publicmemberfuncdefs);
          }
          else {
            protectedmemberfuncdefs = Cons.cons(MethodSlot.cppYieldMemberFuncSignatureTree(method), protectedmemberfuncdefs);
          }
        }
      }
      { Cons _return_temp = publicmemberfuncdefs.reverse();

        MV_returnarray[0] = protectedmemberfuncdefs.reverse();
        return (_return_temp);
      }
    }
  }