'Write the C source code (if not done already) and compile it.
This produces a dynamic link library in \'self.modulefilename\'.'

def compile_module(self):

    with self.ffi._lock:
        if self._has_module:
            raise ffiplatform.VerificationError('module    already    compiled')
        if (not self._has_source):
            self._write_source()
        self._compile_module()
