Merge pull request #2 from CindyLinz/master
token.c include r3_str.h for my_strdup & my_strndup
This commit is contained in:
commit
0cc956aaf7
2 changed files with 9 additions and 2 deletions
|
@ -8,9 +8,15 @@
|
|||
#ifndef DEFINE_H
|
||||
#define DEFINE_H
|
||||
|
||||
#ifndef bool
|
||||
typedef unsigned char bool;
|
||||
#endif
|
||||
#ifndef FALSE
|
||||
# define FALSE 0
|
||||
#endif
|
||||
#ifndef TRUE
|
||||
# define TRUE 1
|
||||
#endif
|
||||
|
||||
// #define DEBUG 1
|
||||
#ifdef DEBUG
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include <string.h>
|
||||
#include <assert.h>
|
||||
#include "str_array.h"
|
||||
#include "r3_str.h"
|
||||
|
||||
|
||||
str_array * str_array_create(int cap) {
|
||||
|
|
Loading…
Reference in a new issue