RPA Toolkit
moved file operations to separate platform specific file.
[rpatk.git] / rjs / unix / rjsrules.c
1 #include "rjs/rjsrules.h"
2
3
4 extern char _binary_____________rjs_ecma262_rpa_start[];
5 extern char _binary_____________rjs_ecma262_rpa_end[];
6 extern unsigned long *_binary_____________rjs_ecma262_rpa_size;
7
8
9 const char *rjs_rules_get()
10 {
11         const char *rules = _binary_____________rjs_ecma262_rpa_start;
12         return rules;
13 }
14
15
16 rsize_t rjs_rules_size()
17 {
18         rsize_t size = _binary_____________rjs_ecma262_rpa_end - _binary_____________rjs_ecma262_rpa_start;
19         return size;
20 }