/+junk/c_sdl_joypad_ducktape

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/%2Bjunk/c_sdl_joypad_ducktape

« back to all changes in this revision

Viewing changes to src/JSParser.h

  • Committer: Gustav Hartvigsson
  • Date: 2014-06-15 17:02:39 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20140615170239-4xkvyjbrxfl760zz
* Started work on porting to Ducktape from MozJs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
#define __H_JS_PARSER__
8
8
 
9
9
/** @file
10
 
 * This is based of MozJS/Spidermonkey from mozilla, pleace see 
11
 
 * .../js/jsapi.h for more information on the licenses used.
12
 
 *
13
 
 * This file, as the rest of the project is under MIT license.
14
 
 * see http://opensource.org/licenses/MIT
 
10
 * 
15
11
 *
16
12
 * Author Gustav Hartvigsson <gustav.hartvigsson _at_ gmail.com> 2014
17
13
 *
18
 
 * Thanks to:
19
 
 * https://btwotch.wordpress.com/2013/03/05/embedding-javascript-via-spidermonkey-into-c/
20
14
 */
21
15
 
22
 
#include <js/jsapi.h>
 
16
#include "ducktape.h"
23
17
#include "Game.h"
24
18
 
 
19
 
 
20
 
25
21
/**
26
22
 * The maximum size of the memory after which GC is run.
27
23
 */