Move private function to src/str.h
This commit is contained in:
parent
5e6252d8a3
commit
e5ef80a200
3 changed files with 15 additions and 2 deletions
|
@ -23,8 +23,6 @@ int r3_slug_count(const char * needle, int len, char **errstr);
|
||||||
|
|
||||||
char * r3_inside_slug(const char * needle, int needle_len, char *offset, char **errstr);
|
char * r3_inside_slug(const char * needle, int needle_len, char *offset, char **errstr);
|
||||||
|
|
||||||
void print_indent(int level);
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include "r3.h"
|
#include "r3.h"
|
||||||
#include "r3_str.h"
|
#include "r3_str.h"
|
||||||
|
#include "str.h"
|
||||||
#include "slug.h"
|
#include "slug.h"
|
||||||
#include "zmalloc.h"
|
#include "zmalloc.h"
|
||||||
|
|
||||||
|
|
14
src/str.h
Normal file
14
src/str.h
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
#ifndef R3_STR_INTERN_H
|
||||||
|
#define R3_STR_INTERN_H
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
void print_indent(int level);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in a new issue