def prepack(self, namedstruct, skip_self=False, skip_sub=False):
        '''
        Run prepack
        '''
        if not skip_self and self.prepackfunc is not None:
            self.prepackfunc(namedstruct)
Run prepack