diff options
-rw-r--r-- | foreign_avcall.c | 5 | ||||
-rw-r--r-- | foreign_msvc.c | 5 | ||||
-rw-r--r-- | foreign_msvc32.c | 5 | ||||
-rw-r--r-- | foreign_msvc64.c | 5 | ||||
-rw-r--r-- | infer.c | 5 |
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 @@ -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); |