MCPcopy Create free account
hub / github.com/LibreCAD/LibreCAD / GetUserData

Method GetUserData

libraries/muparser/src/muParserCallback.cpp:824–830  ·  view source on GitHub ↗

\brief Get the user data if present, else nullptr \throw nothrow */

Source from the content-addressed store, hash-verified

822 \throw nothrow
823 */
824 void* ParserCallback::GetUserData() const
825 {
826 if (m_iArgc & CALLBACK_INTERNAL_WITH_USER_DATA)
827 return reinterpret_cast<CbWithUserData*>(m_pFun)->pUserData;
828 else
829 return nullptr;
830 }
831
832
833 /** \brief Check that the callback looks valid

Callers 1

GetFuncAddrMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected