MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / asGenericValue

Function asGenericValue

system/include/emscripten/bind.h:2015–2017  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2013namespace internal {
2014
2015template<typename T> double asGenericValue(T t) {
2016 return static_cast<double>(t);
2017}
2018
2019template<typename T> uintptr_t asGenericValue(T* p) {
2020 return reinterpret_cast<uintptr_t>(p);

Callers 1

constantFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected