Welcome to mirror list, hosted at ThFree Co, Russian Federation.

script.h « script « src - github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f9c9a6cfd4da1d7fff3c2d6bcf91b4284db592e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/**
 * \file   script.h
 * \brief  The project scripting engine.
 * \author Copyright (c) 2008 Jason Perkins and the Premake project
 *
 * \defgroup script Scripting Engine
 *
 * The project scripting engine.
 *
 * @{
 */
#if !defined(PREMAKE_SCRIPT_H)
#define PREMAKE_SCRIPT_H

#include "base/array.h"

DECLARE_CLASS(Script)

Script      script_create(void);
void        script_destroy(Script script);
const char* script_get_action(Script script);
const char* script_run_file(Script script, const char* filename);
const char* script_run_string(Script script, const char* code);
void        script_set_action(Script script, const char* action);
int         script_tests(void);
int         script_unload(Script script, Array slns);

#endif
/** @} */