Skip to content

cf_destroy_binding

Category: binding
GitHub: cute_binding.h


Destroys a binding and frees its resources, dispatching by handle type.

#define cf_destroy_binding(x) _Generic((x), \
Parameters Description
x A CF_ButtonBinding, CF_AxisBinding, or CF_StickBinding handle.

Remarks

This is a C11 _Generic macro. In C++ use the overloaded destroy_binding() functions in namespace Cute.

cf_destroy_button_binding
cf_destroy_axis_binding
cf_destroy_stick_binding
cf_make_button_binding
cf_make_axis_binding
cf_make_stick_binding