A ctypes-based wrapper for libmetasurface.