mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-10-28 11:29:53 -05:00
22 lines
495 B
C++
22 lines
495 B
C++
#pragma once
|
|
#include <memory>
|
|
#include <string>
|
|
#include <unordered_map>
|
|
#include <vector>
|
|
|
|
namespace advss {
|
|
|
|
class Macro;
|
|
|
|
struct VariableUsage {
|
|
int referenceCount = 0;
|
|
std::vector<std::string> macroNames;
|
|
};
|
|
|
|
std::unordered_map<std::string, VariableUsage> GetVariableUsage();
|
|
std::unordered_map<std::string, int> GetVariablesUsedByMacro(Macro *macro);
|
|
std::unordered_map<std::string, int>
|
|
GetVariablesUsedByMacros(const std::vector<std::shared_ptr<Macro>> ¯os);
|
|
|
|
} // namespace advss
|