XPT_PUBLIC_API(PRBool) XPT_InterfaceDescriptorAddMethods(XPTInterfaceDescriptor *id, uint16 num)
XPT_PUBLIC_API(XPTAnnotation *) XPT_NewAnnotation(uint8 flags, XPTString *creator, XPTString *private_data)
XPT_PUBLIC_API(PRBool)XPT_InterfaceDescriptorAddMethods(XPTInterfaceDescriptor *id, uint16 num){    XPTMethodDescriptor *old = id->method_descriptors, *new;    /* XXX should grow in chunks to minimize realloc overhead */    new = PR_REALLOC(old,                     (id->num_methods + num) * sizeof(XPTMethodDescriptor));    if (!new)        return PR_FALSE;    memset(new + id->num_methods, 0, sizeof(XPTMethodDescriptor) * num);    id->method_descriptors = new;    id->num_methods += num;    return PR_TRUE;}