FastLED 3.10.8
Loading...
Searching...
No Matches

◆ invoke_() [1/2]

static void fl::detail::runtime_rpc::TrampolineHelper< void, Args >::invoke_ ( FunctionType & fn,
void *const * arg_slots,
index_sequence< Is... >  )
inlinestatic

Definition at line 124 of file runtime_rpc_binding.h.

124 {
125 // Each slot stores a `rpc_storage_type<Args>::type` value;
126 // implicit conversion (ConstCharPtrWrapper -> const char*,
127 // ConstSpanWrapper<T> -> span<const T>) yields the original Args.
128 return fn(*static_cast<typename rpc_storage_type<Args>::type*>(arg_slots[Is])...);
129 }