From 9388982950195420a96db58f04a5e6d0f292559e Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Wed, 18 May 2011 14:49:43 +0300 Subject: Minor change. * src/grecs.h (grecs_include_path_clear): New proto. * src/preproc.c (grecs_include_path_clear): New function. --- src/preproc.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/preproc.c') diff --git a/src/preproc.c b/src/preproc.c index 4ab3066..1eeddd0 100644 --- a/src/preproc.c +++ b/src/preproc.c @@ -271,6 +271,15 @@ incl_free(void *data) grecs_free(data); } +void +grecs_include_path_clear() +{ + if (include_path) + grecs_list_clear(include_path); + if (std_include_path) + grecs_list_clear(std_include_path); +} + void grecs_include_path_setup_v(char **dirs) { -- cgit v1.2.1