summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/nxt_tstr.c4
-rw-r--r--src/nxt_tstr.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/nxt_tstr.c b/src/nxt_tstr.c
index 36d77e69..d939d44e 100644
--- a/src/nxt_tstr.c
+++ b/src/nxt_tstr.c
@@ -41,10 +41,6 @@ struct nxt_tstr_query_s {
};
-#define nxt_tstr_is_js(str) \
- nxt_strchr_start(str, '`')
-
-
nxt_tstr_state_t *
nxt_tstr_state_new(nxt_mp_t *mp, nxt_bool_t test)
{
diff --git a/src/nxt_tstr.h b/src/nxt_tstr.h
index 8e3cdb93..7fb02631 100644
--- a/src/nxt_tstr.h
+++ b/src/nxt_tstr.h
@@ -64,6 +64,10 @@ nxt_int_t nxt_tstr_query(nxt_task_t *task, nxt_tstr_query_t *query,
void nxt_tstr_query_release(nxt_tstr_query_t *query);
+#define nxt_tstr_is_js(str) \
+ nxt_strchr_start(str, '`')
+
+
nxt_inline nxt_bool_t
nxt_is_tstr(nxt_str_t *str)
{