summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-05-05 13:52:45 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2020-05-05 13:52:45 -0400
commitcb75407e5ebd05edf3779b4ab389afcd70d7b3c8 (patch)
tree09128efe91f9761cea1eda96412d27d1f6cdb818
parentea45f46f883c6192319f200290c55544db7b53e1 (diff)
forgot some licenses
-rw-r--r--foreign_avcall.c5
-rw-r--r--foreign_msvc.c5
-rw-r--r--foreign_msvc32.c5
-rw-r--r--foreign_msvc64.c5
-rw-r--r--infer.c5
5 files changed, 25 insertions, 0 deletions
diff --git a/foreign_avcall.c b/foreign_avcall.c
index 1f0ac8d..cce52a1 100644
--- a/foreign_avcall.c
+++ b/foreign_avcall.c
@@ -1,3 +1,8 @@
+/*
+ Copyright (C) 2019, 2020 Leo Tenenbaum.
+ This file is part of toc. toc is distributed under version 3 of the GNU General Public License, without any warranty whatsoever.
+ You should have received a copy of the GNU General Public License along with toc. If not, see <https://www.gnu.org/licenses/>.
+*/
/* WARNING: In this file, you will find crazy macros and dubious usage of avcall. Beware! */
typedef struct {
diff --git a/foreign_msvc.c b/foreign_msvc.c
index 1e1cf7c..86f5519 100644
--- a/foreign_msvc.c
+++ b/foreign_msvc.c
@@ -1,3 +1,8 @@
+/*
+ Copyright (C) 2019, 2020 Leo Tenenbaum.
+ This file is part of toc. toc is distributed under version 3 of the GNU General Public License, without any warranty whatsoever.
+ You should have received a copy of the GNU General Public License along with toc. If not, see <https://www.gnu.org/licenses/>.
+*/
#include <windows.h>
typedef struct {
diff --git a/foreign_msvc32.c b/foreign_msvc32.c
index 89928e4..d2a116d 100644
--- a/foreign_msvc32.c
+++ b/foreign_msvc32.c
@@ -1,4 +1,9 @@
/*
+ Copyright (C) 2019, 2020 Leo Tenenbaum.
+ This file is part of toc. toc is distributed under version 3 of the GNU General Public License, without any warranty whatsoever.
+ You should have received a copy of the GNU General Public License along with toc. If not, see <https://www.gnu.org/licenses/>.
+*/
+/*
this code is not standard-compliant in the slightest, and a bit dubious,
but I don't think there's any other way that doesn't involve assembly
*/
diff --git a/foreign_msvc64.c b/foreign_msvc64.c
index d5be6a6..b797c86 100644
--- a/foreign_msvc64.c
+++ b/foreign_msvc64.c
@@ -1,3 +1,8 @@
+/*
+ Copyright (C) 2019, 2020 Leo Tenenbaum.
+ This file is part of toc. toc is distributed under version 3 of the GNU General Public License, without any warranty whatsoever.
+ You should have received a copy of the GNU General Public License along with toc. If not, see <https://www.gnu.org/licenses/>.
+*/
#if SIZE_MAX != U64_MAX
#error "What's going on? The 64-bit Windows file was included, but size_t isn't 64 bits!"
#endif
diff --git a/infer.c b/infer.c
index 9816e2e..aff8c6a 100644
--- a/infer.c
+++ b/infer.c
@@ -1,3 +1,8 @@
+/*
+ Copyright (C) 2019, 2020 Leo Tenenbaum.
+ This file is part of toc. toc is distributed under version 3 of the GNU General Public License, without any warranty whatsoever.
+ You should have received a copy of the GNU General Public License along with toc. If not, see <https://www.gnu.org/licenses/>.
+*/
static bool call_arg_param_order(FnExpr *fn, Type *fn_type, Argument *args, Location where, I16 **orderp);
static bool parameterized_struct_arg_order(StructDef *struc, Argument *args, I16 **order, Location where);
static bool types_expr(Typer *tr, Expression *e);