Skip to content

Commit 548bbcf

Browse files
committed
boilerplate
1 parent 57a9e5d commit 548bbcf

File tree

1 file changed

+38
-1
lines changed

1 file changed

+38
-1
lines changed

xs/sources/xsArguments.c

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,40 @@
1+
/*
2+
* Copyright (c) 2016-2017 Moddable Tech, Inc.
3+
*
4+
* This file is part of the Moddable SDK Runtime.
5+
*
6+
* The Moddable SDK Runtime is free software: you can redistribute it and/or modify
7+
* it under the terms of the GNU Lesser General Public License as published by
8+
* the Free Software Foundation, either version 3 of the License, or
9+
* (at your option) any later version.
10+
*
11+
* The Moddable SDK Runtime is distributed in the hope that it will be useful,
12+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
* GNU Lesser General Public License for more details.
15+
*
16+
* You should have received a copy of the GNU Lesser General Public License
17+
* along with the Moddable SDK Runtime. If not, see <http://www.gnu.org/licenses/>.
18+
*
19+
* This file incorporates work covered by the following copyright and
20+
* permission notice:
21+
*
22+
* Copyright (C) 2010-2016 Marvell International Ltd.
23+
* Copyright (C) 2002-2010 Kinoma, Inc.
24+
*
25+
* Licensed under the Apache License, Version 2.0 (the "License");
26+
* you may not use this file except in compliance with the License.
27+
* You may obtain a copy of the License at
28+
*
29+
* http://www.apache.org/licenses/LICENSE-2.0
30+
*
31+
* Unless required by applicable law or agreed to in writing, software
32+
* distributed under the License is distributed on an "AS IS" BASIS,
33+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
34+
* See the License for the specific language governing permissions and
35+
* limitations under the License.
36+
*/
37+
138
#include "xsAll.h"
239

340
static txBoolean fxArgumentsSloppyDefineOwnProperty(txMachine* the, txSlot* instance, txID id, txIndex index, txSlot* descriptor, txFlag mask);
@@ -186,4 +223,4 @@ txSlot* fxNewArgumentsStrictInstance(txMachine* the, txIndex count)
186223
void fxThrowTypeError(txMachine* the)
187224
{
188225
mxTypeError("strict mode");
189-
}
226+
}

0 commit comments

Comments
 (0)