| [905] | 1 | /* | 
|---|
|  | 2 | * TinyJS | 
|---|
|  | 3 | * | 
|---|
|  | 4 | * A single-file Javascript-alike engine | 
|---|
|  | 5 | * | 
|---|
|  | 6 | * Authored By Gordon Williams <gw@pur3.co.uk> | 
|---|
|  | 7 | * | 
|---|
|  | 8 | * Copyright (C) 2009 Pur3 Ltd | 
|---|
|  | 9 | * | 
|---|
|  | 10 |  | 
|---|
|  | 11 | * 42TinyJS | 
|---|
|  | 12 | * | 
|---|
|  | 13 | * A fork of TinyJS with the goal to makes a more JavaScript/ECMA compliant engine | 
|---|
|  | 14 | * | 
|---|
|  | 15 | * Authored / Changed By Armin Diedering <armin@diedering.de> | 
|---|
|  | 16 | * | 
|---|
|  | 17 | * Copyright (C) 2010-2013 ardisoft | 
|---|
|  | 18 | * | 
|---|
|  | 19 | * | 
|---|
|  | 20 | * Permission is hereby granted, free of charge, to any person obtaining a copy of | 
|---|
|  | 21 | * this software and associated documentation files (the "Software"), to deal in | 
|---|
|  | 22 | * the Software without restriction, including without limitation the rights to | 
|---|
|  | 23 | * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | 
|---|
|  | 24 | * of the Software, and to permit persons to whom the Software is furnished to do | 
|---|
|  | 25 | * so, subject to the following conditions: | 
|---|
|  | 26 |  | 
|---|
|  | 27 | * The above copyright notice and this permission notice shall be included in all | 
|---|
|  | 28 | * copies or substantial portions of the Software. | 
|---|
|  | 29 |  | 
|---|
|  | 30 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | 
|---|
|  | 31 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | 
|---|
|  | 32 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | 
|---|
|  | 33 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | 
|---|
|  | 34 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | 
|---|
|  | 35 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | 
|---|
|  | 36 | * SOFTWARE. | 
|---|
|  | 37 | */ | 
|---|
|  | 38 |  | 
|---|
|  | 39 | #pragma message("The include "__FILE__" is deprecated - Functions now registered by default") | 
|---|
|  | 40 |  | 
|---|
|  | 41 | #ifndef TINYJS_FUNCTIONS_H | 
|---|
|  | 42 | #define TINYJS_FUNCTIONS_H | 
|---|
|  | 43 |  | 
|---|
|  | 44 | #include "TinyJS.h" | 
|---|
|  | 45 |  | 
|---|
|  | 46 | /// Register useful functions with the TinyJS interpreter | 
|---|
|  | 47 | extern void DEPRECATED("is deprecated - Functions now registered by default") registerFunctions(CTinyJS *tinyJS); | 
|---|
|  | 48 |  | 
|---|
|  | 49 | #endif | 
|---|