MCPcopy Create free account
hub / github.com/N64Recomp/N64Recomp / find_regular_reference_symbol

Method find_regular_reference_symbol

include/recompiler/context.h:378–391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376 }
377
378 bool find_regular_reference_symbol(const std::string& symbol_name, SymbolReference& ref_out) const {
379 SymbolReference ref_found;
380 if (!find_reference_symbol(symbol_name, ref_found)) {
381 return false;
382 }
383
384 // Ignore reference symbols in special sections.
385 if (!is_regular_reference_section(ref_found.section_index)) {
386 return false;
387 }
388
389 ref_out = ref_found;
390 return true;
391 }
392
393 const ReferenceSymbol& get_reference_symbol(uint16_t section_index, size_t symbol_index) const {
394 if (section_index == SectionImport) {

Callers 1

build_mod_contextFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected