Pathfinder
Macros | Functions
Main.cpp File Reference

This file is needed to register the plugin to PADrend. More...

#include <iostream>
#include <EScript/EScript.h>
#include "EScriptHelper.h"
Include dependency graph for Main.cpp:

Macros

#define LIBRARY_NAME   "Pathfinder"
 

Functions

void initLibrary (EScript::Namespace *lib)
 Main entry point for this library. More...
 

Detailed Description

This file is needed to register the plugin to PADrend.

Author
Sascha Brandt

Macro Definition Documentation

◆ LIBRARY_NAME

#define LIBRARY_NAME   "Pathfinder"

Function Documentation

◆ initLibrary()

void initLibrary ( EScript::Namespace *  lib)

Main entry point for this library.

This function is called from EScript using the 'LibUtilExt/LibraryLoader' module. The 'lib' parameter is usually the GLOBALS namespace from EScript.

The 'extern "C"' signalizes the compiler that it should tread this function as a plain C function which can be easily found during dynamic linking (otherwise the compiler mangles the name).