MCPcopy Create free account
hub / github.com/WayfireWM/wayfire / binding_to_id

Method binding_to_id

plugins/single_plugins/command.cpp:63–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 };
62
63 static inline uint64_t binding_to_id(const ipc_binding_t& binding)
64 {
65 return (std::uintptr_t)(&binding.callback);
66 }
67
68 std::list<ipc_binding_t> ipc_bindings;
69 using command_callback = std::function<bool ()>;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected