FastLED 3.10.9
Loading...
Searching...
No Matches

◆ singleton_registry_get()

void * fl::detail::singleton_registry_get ( const char * key)

Definition at line 47 of file singleton.cpp.hpp.

47 {
48 for (int i = 0; i < registry_count; i++) {
49 if (keys_equal(registry[i].key, key)) {
50 return registry[i].value;
51 }
52 }
53 return nullptr;
54}

References fl::FL_NO_EXCEPT, and fl::detail::anonymous_namespace{singleton.cpp.hpp}::RegistryEntry::value.

Referenced by fl::SingletonShared< T, N >::instance().

+ Here is the caller graph for this function: