Fill in vtbl[] for base class based on member functions of class cd. Input: vtbl if !=NULL, fill it in newinstance !=0 means all entries must be filled in by members of cd, not members of any base classes of cd.
See Implementation