MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenShadingLanguage / parse_file

Method parse_file

src/liboslexec/loadshader.cpp:104–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102
103
104bool
105OSOReaderToMaster::parse_file (const std::string &filename)
106{
107 m_master->m_osofilename = filename;
108 m_master->m_maincodebegin = 0;
109 m_master->m_maincodeend = 0;
110 m_codesection.clear ();
111 m_codesym = -1;
112 return OSOReader::parse_file (filename) && ! m_errors;
113}
114
115
116

Callers 2

loadshaderMethod · 0.80
openMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected