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

Method SetVarFactory

libraries/muparser/src/muParserBase.cpp:362–365  ·  view source on GitHub ↗

--------------------------------------------------------------------------- \brief Set a function that can create variable pointer for unknown expression variables. \param a_pFactory A pointer to the variable factory. \param pUserData A user defined context pointer. */

Source from the content-addressed store, hash-verified

360 \param pUserData A user defined context pointer.
361 */
362 void ParserBase::SetVarFactory(facfun_type a_pFactory, void* pUserData)
363 {
364 m_pTokenReader->SetVarCreator(a_pFactory, pUserData);
365 }
366
367 //---------------------------------------------------------------------------
368 /** \brief Add a function or operator callback to the parser. */

Callers 1

mupSetVarFactoryFunction · 0.80

Calls 1

SetVarCreatorMethod · 0.80

Tested by

no test coverage detected