Norimasa Okamoto
/
TinyJS
TinyJS
Fork of TinyJS by
TinyJS_Functions.h@0:aae260bdcdd9, 2014-01-11 (annotated)
- Committer:
- ohneta
- Date:
- Sat Jan 11 20:19:11 2014 +0000
- Revision:
- 0:aae260bdcdd9
TinyJS for mbed porting.; 1st edition.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ohneta | 0:aae260bdcdd9 | 1 | /* |
ohneta | 0:aae260bdcdd9 | 2 | * TinyJS |
ohneta | 0:aae260bdcdd9 | 3 | * |
ohneta | 0:aae260bdcdd9 | 4 | * A single-file Javascript-alike engine |
ohneta | 0:aae260bdcdd9 | 5 | * |
ohneta | 0:aae260bdcdd9 | 6 | * Authored By Gordon Williams <gw@pur3.co.uk> |
ohneta | 0:aae260bdcdd9 | 7 | * |
ohneta | 0:aae260bdcdd9 | 8 | * Copyright (C) 2009 Pur3 Ltd |
ohneta | 0:aae260bdcdd9 | 9 | * |
ohneta | 0:aae260bdcdd9 | 10 | * Permission is hereby granted, free of charge, to any person obtaining a copy of |
ohneta | 0:aae260bdcdd9 | 11 | * this software and associated documentation files (the "Software"), to deal in |
ohneta | 0:aae260bdcdd9 | 12 | * the Software without restriction, including without limitation the rights to |
ohneta | 0:aae260bdcdd9 | 13 | * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies |
ohneta | 0:aae260bdcdd9 | 14 | * of the Software, and to permit persons to whom the Software is furnished to do |
ohneta | 0:aae260bdcdd9 | 15 | * so, subject to the following conditions: |
ohneta | 0:aae260bdcdd9 | 16 | |
ohneta | 0:aae260bdcdd9 | 17 | * The above copyright notice and this permission notice shall be included in all |
ohneta | 0:aae260bdcdd9 | 18 | * copies or substantial portions of the Software. |
ohneta | 0:aae260bdcdd9 | 19 | |
ohneta | 0:aae260bdcdd9 | 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
ohneta | 0:aae260bdcdd9 | 21 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
ohneta | 0:aae260bdcdd9 | 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
ohneta | 0:aae260bdcdd9 | 23 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
ohneta | 0:aae260bdcdd9 | 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
ohneta | 0:aae260bdcdd9 | 25 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
ohneta | 0:aae260bdcdd9 | 26 | * SOFTWARE. |
ohneta | 0:aae260bdcdd9 | 27 | */ |
ohneta | 0:aae260bdcdd9 | 28 | |
ohneta | 0:aae260bdcdd9 | 29 | #ifndef TINYJS_FUNCTIONS_H |
ohneta | 0:aae260bdcdd9 | 30 | #define TINYJS_FUNCTIONS_H |
ohneta | 0:aae260bdcdd9 | 31 | |
ohneta | 0:aae260bdcdd9 | 32 | #include "TinyJS.h" |
ohneta | 0:aae260bdcdd9 | 33 | |
ohneta | 0:aae260bdcdd9 | 34 | /// Register useful functions with the TinyJS interpreter |
ohneta | 0:aae260bdcdd9 | 35 | extern void registerFunctions(CTinyJS *tinyJS); |
ohneta | 0:aae260bdcdd9 | 36 | |
ohneta | 0:aae260bdcdd9 | 37 | #endif |
ohneta | 0:aae260bdcdd9 | 38 |