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

Method new_struct

src/liboslcomp/symtab.cpp:237–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235
236
237int
238SymbolTable::new_struct (ustring name)
239{
240 int structid = TypeSpec::new_struct (new StructSpec (name, scopeid()));
241 insert (new Symbol (name, TypeSpec ("",structid), SymTypeType));
242 return structid;
243}
244
245
246

Callers

nothing calls this directly

Calls 1

TypeSpecClass · 0.70

Tested by

no test coverage detected