Shkyera Engine
Easy to use, game engine for Python
StaticAnalysis.cpp File Reference
#include <pybind11/embed.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <iostream>
#include "python/Interpreter.hpp"
#include "python/StaticAnalysis.hpp"
Include dependency graph for StaticAnalysis.cpp:

Namespaces

 shkyera
 
 shkyera::Python
 

Functions

std::vector< std::pair< std::string, PYTHON_TYPE > > shkyera::Python::getPublicVariables (std::string scriptName)
 Function to get a list of public variables and their types from a Python script. More...
 

Variables

std::unordered_map< std::string, PYTHON_TYPE > shkyera::Python::_mapPythonTypes = {{"int", INT}, {"float", FLOAT}, {"str", STRING}}