You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

37 lines
722 B

#ifndef GLOBALS_H
#define GLOBALS_H
#include <dlfcn.h>
#include <map>
#include <string>
#include <vector>
#include "object.h"
// Functions addresses
typedef std::multimap<std::string,Func> G_funcsType;
extern G_funcsType G_funcs;
// Types for variables and printsave store
typedef std::map<std::string,ExecExpr> VarType;
typedef std::vector<ExecExpr> ExecType;
/*
// Variables definitions
extern G_VarType G_Vars;
// List of objects to save
extern G_ExecType G_ToSave;
// List of objects to print
extern G_ExecType G_ToPrint;
*/
// Loaded modules
typedef std::vector<void*> G_libsType;
extern G_libsType G_libs;
void ClearGlobals();
bool Save(const ObjectList* input);
bool Print(const ObjectList* input);
#endif