Phasor 3.3.0
Stack VM based Programming Language
Loading...
Searching...
No Matches
bindgen_main.cpp File Reference
#include <algorithm>
#include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include <string>
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 109 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 26 of file bindgen_main.cpp.

Here is the caller graph for this function:

◆ isSupportedParam()

bool isSupportedParam ( const std::string & type)

Definition at line 31 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 201 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 56 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 45 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 9 of file bindgen_main.cpp.