diff --git a/LICENSE b/LICENSE index 0a9a115..562b249 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com) +Copyright (c) 2023-2024 Alvin Cheng Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/libjas/buffer.c b/libjas/buffer.c index 5104c12..c9dc8c0 100644 --- a/libjas/buffer.c +++ b/libjas/buffer.c @@ -1,6 +1,6 @@ /** * MIT License - * Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com) + * Copyright (c) 2023-2024 Alvin Cheng * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/libjas/codegen.c b/libjas/codegen.c index 7779f98..9e9a1e7 100644 --- a/libjas/codegen.c +++ b/libjas/codegen.c @@ -1,6 +1,6 @@ /** * MIT License - * Copyright (c) 2023 Alvin Cheng (eventide1029@gmail.com) + * Copyright (c) 2023 Alvin Cheng * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/libjas/encoder.c b/libjas/encoder.c index 7d1c840..d0c1b68 100644 --- a/libjas/encoder.c +++ b/libjas/encoder.c @@ -1,6 +1,6 @@ /** * MIT License - * Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com) + * Copyright (c) 2023-2024 Alvin Cheng * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/libjas/endian.c b/libjas/endian.c index b849790..f55002a 100644 --- a/libjas/endian.c +++ b/libjas/endian.c @@ -1,6 +1,6 @@ /** * MIT License - * Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com) + * Copyright (c) 2023-2024 Alvin Cheng * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/libjas/error.c b/libjas/error.c index 3cb7b2a..82803d4 100644 --- a/libjas/error.c +++ b/libjas/error.c @@ -1,6 +1,6 @@ /** * MIT License - * Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com) + * Copyright (c) 2023-2024 Alvin Cheng * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/libjas/exe.c b/libjas/exe.c index e5d3221..b9e62b2 100644 --- a/libjas/exe.c +++ b/libjas/exe.c @@ -1,6 +1,6 @@ /** * MIT License - * Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com) + * Copyright (c) 2023-2024 Alvin Cheng * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/libjas/include/buffer.h b/libjas/include/buffer.h index aa33721..e57fd35 100644 --- a/libjas/include/buffer.h +++ b/libjas/include/buffer.h @@ -1,6 +1,6 @@ /** * MIT License - * Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com) + * Copyright (c) 2023-2024 Alvin Cheng * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/libjas/include/codegen.h b/libjas/include/codegen.h index 937122b..a0d9ead 100644 --- a/libjas/include/codegen.h +++ b/libjas/include/codegen.h @@ -1,6 +1,6 @@ /** * MIT License - * Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com) + * Copyright (c) 2023-2024 Alvin Cheng * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/libjas/include/encoder.h b/libjas/include/encoder.h index 4f884d4..afc2d4c 100644 --- a/libjas/include/encoder.h +++ b/libjas/include/encoder.h @@ -1,6 +1,6 @@ /** * MIT License - * Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com) + * Copyright (c) 2023-2024 Alvin Cheng * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/libjas/include/endian.h b/libjas/include/endian.h index 1a75374..0c138a8 100644 --- a/libjas/include/endian.h +++ b/libjas/include/endian.h @@ -1,6 +1,6 @@ /** * MIT License - * Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com) + * Copyright (c) 2023-2024 Alvin Cheng * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/libjas/include/error.h b/libjas/include/error.h index 2ff8107..0378cce 100644 --- a/libjas/include/error.h +++ b/libjas/include/error.h @@ -1,6 +1,6 @@ /** * MIT License - * Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com) + * Copyright (c) 2023-2024 Alvin Cheng * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/libjas/include/exe.h b/libjas/include/exe.h index 0572d6e..d7f9d19 100644 --- a/libjas/include/exe.h +++ b/libjas/include/exe.h @@ -1,6 +1,6 @@ /** * MIT License - * Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com) + * Copyright (c) 2023-2024 Alvin Cheng * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/libjas/include/instruction.h b/libjas/include/instruction.h index bbd15a4..320cae1 100644 --- a/libjas/include/instruction.h +++ b/libjas/include/instruction.h @@ -1,6 +1,6 @@ /** * MIT License - * Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com) + * Copyright (c) 2023-2024 Alvin Cheng * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/libjas/include/jas.h b/libjas/include/jas.h index c0cd32d..2dac0d3 100644 --- a/libjas/include/jas.h +++ b/libjas/include/jas.h @@ -1,6 +1,6 @@ /** * MIT License - * Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com) + * Copyright (c) 2023-2024 Alvin Cheng * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -28,7 +28,7 @@ /** * @author cheng-alvin - * Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com) + * Copyright (c) 2023-2024 Alvin Cheng * * Jas is a minimal, fast and simple zero-dependency assembler for the x64 * family of processors, jas not only aims to be fast and simple when using @@ -42,23 +42,4 @@ * Made with love by Alvin / the Jas crew and contributors ❤️ . */ -#ifdef __cplusplus -namespace jas { - extern "C" { -#endif - -#include "buffer.h" -#include "codegen.h" -#include "error.h" -#include "instruction.h" -#include "label.h" -#include "mode.h" -#include "operand.h" -#include "register.h" - -#ifdef __cplusplus - } -} -#endif - #endif diff --git a/libjas/include/label.h b/libjas/include/label.h index b586377..4f5973c 100644 --- a/libjas/include/label.h +++ b/libjas/include/label.h @@ -1,6 +1,6 @@ /** * MIT License - * Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com) + * Copyright (c) 2023-2024 Alvin Cheng * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/libjas/include/mode.h b/libjas/include/mode.h index 5c56a04..3f55a7e 100644 --- a/libjas/include/mode.h +++ b/libjas/include/mode.h @@ -1,6 +1,6 @@ /** * MIT License - * Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com) + * Copyright (c) 2023-2024 Alvin Cheng * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/libjas/include/operand.h b/libjas/include/operand.h index e8c7271..dc8b3b8 100644 --- a/libjas/include/operand.h +++ b/libjas/include/operand.h @@ -1,6 +1,6 @@ /** * MIT License - * Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com) + * Copyright (c) 2023-2024 Alvin Cheng * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/libjas/include/operand.hpp b/libjas/include/operand.hpp index e82891b..ce69b09 100644 --- a/libjas/include/operand.hpp +++ b/libjas/include/operand.hpp @@ -1,6 +1,6 @@ /** * MIT License - * Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com) + * Copyright (c) 2023-2024 Alvin Cheng * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/libjas/include/register.h b/libjas/include/register.h index cc11585..92137ef 100644 --- a/libjas/include/register.h +++ b/libjas/include/register.h @@ -1,6 +1,6 @@ /** * MIT License - * Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com) + * Copyright (c) 2023-2024 Alvin Cheng * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/libjas/include/rex.h b/libjas/include/rex.h index 97b48da..626ae4f 100644 --- a/libjas/include/rex.h +++ b/libjas/include/rex.h @@ -1,6 +1,6 @@ /** * MIT License - * Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com) + * Copyright (c) 2023-2024 Alvin Cheng * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/libjas/instruction.c b/libjas/instruction.c index db0ef57..a34d997 100644 --- a/libjas/instruction.c +++ b/libjas/instruction.c @@ -1,6 +1,6 @@ /** * MIT License - * Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com) + * Copyright (c) 2023-2024 Alvin Cheng * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -207,4 +207,3 @@ instr_encode_table_t instr_get_tab(instruction_t instr) { err("No corrsponding instruction opcode found."); return INSTR_TERMINATOR; // aka empty } - diff --git a/libjas/label.c b/libjas/label.c index 29fb02e..c572239 100644 --- a/libjas/label.c +++ b/libjas/label.c @@ -1,6 +1,6 @@ /** * MIT License - * Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com) + * Copyright (c) 2023-2024 Alvin Cheng * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/libjas/mode.c b/libjas/mode.c index 93449ca..a1722f1 100644 --- a/libjas/mode.c +++ b/libjas/mode.c @@ -1,6 +1,6 @@ /** * MIT License - * Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com) + * Copyright (c) 2023-2024 Alvin Cheng * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/libjas/operand.c b/libjas/operand.c index 9b56ad4..dd11a74 100644 --- a/libjas/operand.c +++ b/libjas/operand.c @@ -1,6 +1,6 @@ /** * MIT License - * Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com) + * Copyright (c) 2023-2024 Alvin Cheng * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/libjas/operand.cpp b/libjas/operand.cpp index ae04ca3..b2a5477 100644 --- a/libjas/operand.cpp +++ b/libjas/operand.cpp @@ -1,6 +1,6 @@ /** * MIT License - * Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com) + * Copyright (c) 2023-2024 Alvin Cheng * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/libjas/register.c b/libjas/register.c index 76aff3a..7b1eebc 100644 --- a/libjas/register.c +++ b/libjas/register.c @@ -1,6 +1,6 @@ /** * MIT License - * Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com) + * Copyright (c) 2023-2024 Alvin Cheng * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/test.h b/tests/test.h index f609138..ef8851f 100644 --- a/tests/test.h +++ b/tests/test.h @@ -1,6 +1,6 @@ /** * MIT License - * Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com) + * Copyright (c) 2023-2024 Alvin Cheng * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal