Skip to content

Commit

Permalink
common_string
Browse files Browse the repository at this point in the history
  • Loading branch information
Chong Liu committed Jan 27, 2024
1 parent 3a0a980 commit f89ddf4
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 17 deletions.
6 changes: 3 additions & 3 deletions F01_Common_Functions/inc/common_stack.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* =================================================================================
* @Description : Common stack header file
*/
#ifndef F01_COMMON_FUNCTIONS_INC_COMMONSTACK_H_
#define F01_COMMON_FUNCTIONS_INC_COMMONSTACK_H_
#ifndef F01_COMMON_FUNCTIONS_INC_COMMON_STACK_H_
#define F01_COMMON_FUNCTIONS_INC_COMMON_STACK_H_

/* Standard header file (标准头文件) */
#include <stdbool.h>
Expand Down Expand Up @@ -47,4 +47,4 @@ bool Stack_IsFull(Stack *obj); /* Check whether the stack is full */
void Stack_Print(Stack *obj); /* Print stack */
void Stack_Free(Stack *obj); /* Free stack */

#endif /* F01_COMMON_FUNCTIONS_INC_COMMONSTACK_H_ */
#endif /* F01_COMMON_FUNCTIONS_INC_COMMON_STACK_H_ */
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* =================================================================================
* @Description : Common string header file
*/
#ifndef F01_COMMON_FUNCTIONS_INC_COMMONSTRING_H_
#define F01_COMMON_FUNCTIONS_INC_COMMONSTRING_H_
#ifndef F01_COMMON_FUNCTIONS_INC_COMMON_STRING_H_
#define F01_COMMON_FUNCTIONS_INC_COMMON_STRING_H_

/**********************************************************************************/
/* */
Expand All @@ -35,4 +35,4 @@ int String_Free(char **s); /* Release string */
/**********************************************************************************/
int Validate_String(char testNum, char *expect, char *actual); /* Validate string */

#endif /* F01_COMMON_FUNCTIONS_INC_COMMONSTRING_H_ */
#endif /* F01_COMMON_FUNCTIONS_INC_COMMON_STRING_H_ */
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* @FilePath : \Practice_LeetCode_C\F01_Common_Functions\src\commonString.c
* @FilePath : \Practice_LeetCode_C\F01_Common_Functions\src\common_string.c
* @Author : Chong Liu
* @CreateDate : 2023-10-24 00:56:52
* @LastEditors : Chong Liu
* @LastEditTime : 2024-01-12 16:21:10
* @LastEditTime : 2024-01-27 11:28:54
* =================================================================================
* Copyright (c) 2023 by Chong Liu, All Rights Reserved.
* =================================================================================
Expand All @@ -13,7 +13,7 @@
#include "compile_cfg.h" /* NOLINT */
#if COMMON_STRING_EN /* whether compile this file, the definition of this macro can be found in compileCfg.h */
/* Header file (本文件头文件) */
#include "commonString.h"
#include "F01_Common_Functions/inc/common_string.h"
/* Standard header file (标准头文件) */
#include <stdio.h>
#include <stdlib.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
extern "C" {
/* Target header file (目标头文件) */
#include "commonString.h"
#include "F01_Common_Functions/inc/common_string.h"
/* Common function header file (通用头文件) */
#include "F01_Common_Functions/inc/common_def/common_type_def.h"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <stdio.h>
#include <string.h>
/* Common function header file (通用头文件) */
#include "commonString.h"
#include "F01_Common_Functions/inc/common_string.h"
#include "F01_Common_Functions/inc/common_array.h"

/**********************************************************************************/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include <string.h>
/* Common function header file (通用头文件) */
#include "F01_Common_Functions/inc/common_single_value.h"
#include "commonString.h"
#include "F01_Common_Functions/inc/common_string.h"

/**********************************************************************************/
/**********************************************************************************/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include <stdlib.h>
#include <string.h>
/* Common function header file (通用头文件) */
#include "commonString.h"
#include "F01_Common_Functions/inc/common_string.h"

/**********************************************************************************/
/**********************************************************************************/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include <stdlib.h>
#include <string.h>
/* Common function header file (通用头文件) */
#include "commonString.h"
#include "F01_Common_Functions/inc/common_string.h"

/**********************************************************************************/
/**********************************************************************************/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include <stdlib.h>
#include <string.h>
/* Common function header file (通用头文件) */
#include "commonString.h"
#include "F01_Common_Functions/inc/common_string.h"

/**********************************************************************************/
/**********************************************************************************/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <string.h>
/* Common function header file (通用头文件) */
#include "F01_Common_Functions/inc/common_single_value.h"
#include "commonString.h"
#include "F01_Common_Functions/inc/common_string.h"

/**********************************************************************************/
/**********************************************************************************/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <stdio.h>
#include <string.h>
/* Common function header file (通用头文件) */
#include "commonString.h"
#include "F01_Common_Functions/inc/common_string.h"
#include "F01_Common_Functions/inc/common_array.h"

/**********************************************************************************/
Expand Down

0 comments on commit f89ddf4

Please sign in to comment.