MCPcopy Create free account
hub / github.com/covscript/covscript / from_ptr

Function from_ptr

include/covscript/core/variable.hpp:305–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

303 constexpr result() : _ptr(nullptr) {}
304
305 static COVSCRIPT_ALWAYS_INLINE constexpr result from_ptr(void *p) noexcept
306 {
307 result r;
308 r._ptr = p;
309 return r;
310 }
311
312 static COVSCRIPT_ALWAYS_INLINE constexpr result from_int(std::intptr_t i) noexcept
313 {

Callers 15

dispatcherFunction · 0.85
getMethod · 0.85
type_idMethod · 0.85
type_nameMethod · 0.85
ext_nsMethod · 0.85
addMethod · 0.85
subMethod · 0.85
mulMethod · 0.85
divMethod · 0.85
modMethod · 0.85
powMethod · 0.85
minusMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected