LuaFunctionRegisterSpreadsheet/GhidraParser/Utility.hpp

16 lines
394 B
C++

#pragma once
#include <string>
#include <vector>
struct ParseResult
{
bool prsbl; // was parsable
int val; // value which it was parsed into
};
ParseResult prsi(std::string str);
std::vector<char>* lf(std::string& path);
std::vector<char>* lf(const char* path);
bool lnsw(std::string& ln, int idx, const char* sw);
void ssie(std::string& str, std::string repl);
void pdbg(std::string& msg);