From c92b55a4d8ff5f32f6191579bd20b23c28c85df2 Mon Sep 17 00:00:00 2001 From: Vince0789 Date: Tue, 25 May 2021 22:12:14 +0200 Subject: [PATCH] updates include guards, copyright and pawn.json --- array_util.inc | 11 ++++++++++- pawn.json | 4 ++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/array_util.inc b/array_util.inc index 2db3c66..9902cda 100644 --- a/array_util.inc +++ b/array_util.inc @@ -1,7 +1,7 @@ /** * MIT License * - * Copyright (c) 2018 Vince0789 + * Copyright (c) 2018-2021 Vince0789 * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -22,6 +22,15 @@ * SOFTWARE. */ +#if defined _inc_array_util + #undef _inc_array_util +#endif + +#if defined _INC_array_util + #endinput +#endif +#define _INC_array_util + // ----------------------------------------------------------------------------- /** diff --git a/pawn.json b/pawn.json index 0f133c9..ce63839 100644 --- a/pawn.json +++ b/pawn.json @@ -3,7 +3,7 @@ "repo": "pawn-array-util", "entry": "test.pwn", "output": "test.amx", - "dependencies": [ + "dev_dependencies": [ "sampctl/samp-stdlib" ] -} \ No newline at end of file +}