The Battle for Wesnoth  1.15.1+dev
Classes | Functions | Variables
SDLMain.mm File Reference
#import "SDL.h"
#import "SDLMain.h"
#include <vector>
Include dependency graph for SDLMain.mm:

Go to the source code of this file.

Classes

class  WesnothSDLApplication
 

Functions

int wesnoth_main (int argc, char **argv)
 
template<int sz>
bool str_eq (const char *str, const char(&cstr)[sz])
 
int main (int argc, char **argv)
 

Variables

static std::vector< char * > gArgs
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 95 of file SDLMain.mm.

References i, and str_eq().

◆ str_eq()

template<int sz>
bool str_eq ( const char *  str,
const char(&)  cstr[sz] 
)

Definition at line 86 of file SDLMain.mm.

Referenced by main().

◆ wesnoth_main()

int wesnoth_main ( int  argc,
char **  argv 
)

Referenced by SDLMain::openHomepage:.

Variable Documentation

◆ gArgs

std::vector<char*> gArgs
static

Definition at line 12 of file SDLMain.mm.