Phasor 3.1.1
Stack VM based Programming Language
Loading...
Searching...
No Matches
bindgen_main.cpp File Reference
#include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include <string>
#include <algorithm>
Include dependency graph for bindgen_main.cpp:

Go to the source code of this file.

Classes

struct  Param
struct  Function

Functions

bool isHandleType (const std::string &type)
bool isSupportedParam (const std::string &type)
std::string trim (const std::string &str)
Function parseFunction (const std::string &line, int lineNumber)
void generateWrapper (const Function &f, std::ostream &out)
int main (int argc, char **argv)

Variables

const std::vector< std::string > PATCHES = {"#pragma warning(disable:4996)", "#pragma warning(disable:4244)"}

Function Documentation

◆ generateWrapper()

void generateWrapper ( const Function & f,
std::ostream & out )

Definition at line 98 of file bindgen_main.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isHandleType()

bool isHandleType ( const std::string & type)

Definition at line 25 of file bindgen_main.cpp.

Here is the caller graph for this function:

◆ isSupportedParam()

bool isSupportedParam ( const std::string & type)

Definition at line 30 of file bindgen_main.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

int main ( int argc,
char ** argv )

Definition at line 164 of file bindgen_main.cpp.

Here is the call graph for this function:

◆ parseFunction()

Function parseFunction ( const std::string & line,
int lineNumber )

Definition at line 51 of file bindgen_main.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ trim()

std::string trim ( const std::string & str)

Definition at line 42 of file bindgen_main.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ PATCHES

const std::vector<std::string> PATCHES = {"#pragma warning(disable:4996)", "#pragma warning(disable:4244)"}

Definition at line 8 of file bindgen_main.cpp.