MCPcopy Create free account
hub / github.com/FastLED/FastLED / ptr_to_int

Function ptr_to_int

src/fl/stl/bit_cast.h:71–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69// Additional utility for uptr conversions (common pattern in the codebase)
70template <typename T>
71uptr ptr_to_int(T* ptr) FL_NOEXCEPT {
72 return bit_cast<uptr>(ptr);
73}
74
75template <typename T>
76T* int_to_ptr(uptr value) FL_NOEXCEPT {

Callers 13

endShowLedsMethod · 0.85
operator()Method · 0.85
format_pointerFunction · 0.85
vector.hFile · 0.85
memoryFunction · 0.85
is_alignedFunction · 0.85
memcpyFunction · 0.85
memset_zeroFunction · 0.85
ActiveStripTrackerMethod · 0.85
ActiveStripTrackerClass · 0.85
~ActiveStripTrackerMethod · 0.85
FL_TEST_FILEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected