Replace pragma onces with guards because preproc names are useful

This commit is contained in:
Krzosa Karol
2024-01-28 19:17:13 +01:00
parent 57b61e366f
commit 908cfca794
15 changed files with 184 additions and 152 deletions

View File

@@ -1,4 +1,5 @@
#pragma once
#ifndef FIRST_REGEX_HEADER
#define FIRST_REGEX_HEADER
#include <stdint.h>
#include <stdbool.h>
@@ -91,3 +92,4 @@ RE_API RE_Match RE3_FindAgain(RE_Regex *regex, char *string, RE_Int len, RE_Matc
RE_API RE_Int RE3_MatchFront(RE_Regex *regex, char *string, RE_Int len, char *string_front);
RE_API RE_Regex *RE1_Parse(char *buff, RE_Int buffsize, char *string);
RE_API RE_Regex *RE2_Parse(char *buff, RE_Int buffsize, char *string, RE_Int len);
#endif