OpenGL_accelerate.latebind
General pattern which does late-bound calls
Classes
Provides a __call__ which dispatches to self._finalCall
When called without self._finalCall() makes a call to
self.finalise() and then calls self._finalCall()
__call__
Call self._finalCall, calling finalise() first if not already called
There's actually *no* reason to unpack and repack the arguments,
but unfortunately I don't know of a Cython syntax to specify
that.
finalise
Finalise our target to our final callable object
getFinalCall
Retrieve and/or bind and retrieve final call
setFinalCall
Set our finalCall to the callable object given