sgs_SetHookFunc [function]

void sgs_SetHookFunc( sgs_Context* C, sgs_HookFunc func, void* ctx )

Sets the hook function and user data pointer.