MCPcopy Create free account
hub / github.com/ValveSoftware/ToGL / Lookup

Method Lookup

public/togl/linuxwin/glentrypoints.h:134–145  ·  view source on GitHub ↗

Load library if necessary, look up symbol. Returns true and sets m_pFn on successful lookup, returns false otherwise. If the function pointer is already looked up, this return true immediately. Use Reset() first if you want to look up the symbol again. This function will return false immediately unless (okay) is true. This allows you to chain lookups like this: bool okay = true; x.Lookup(lib, "x",

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

SetFuncNameMethod · 0.95
VoidFnPtrLookup_GlMgrFunction · 0.85

Tested by

no test coverage detected