def _get_function_ptr(self, name):
func = _make_function_ptr_instance<EOL>self._function_ptrs.setdefault(name, func(self, name))<EOL>return self._function_ptrs[name]<EOL>
Get or create a function pointer of the given name.