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