Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
2013
namespace internal {
2014
2015
template<typename T> double asGenericValue(T t) {
2016
return static_cast<double>(t);
2017
}
2018
2019
template<typename T> uintptr_t asGenericValue(T* p) {
2020
return reinterpret_cast<uintptr_t>(p);
Callers
1
constant
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected