I quickly looked through the PDF file, and here is an example of what you mean:
struct Class new.r new.h:
struct Class {
size_t size;
void * (* ctor) (void * self, va_list * app);
void * (* dtor) (void * self);
void (* draw) (const void * self);
};
.r (, .r) , :
void * new (const void * class, ...);
void delete (void * item);
void draw (const void * self);
, , c :
void draw (const void * self)
{
const struct Class * const * cp = self;
assert(self && * cp && (* cp) —> draw);
(* cp) —> draw(self);
}
, .r , , , , r .r - "".