File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 6
6
7
7
#include " sass_interface.h"
8
8
#include " context.hpp"
9
+ #include " inspect.hpp"
9
10
10
11
#ifndef SASS_ERROR_HANDLING
11
12
#include " error_handling.hpp"
@@ -266,4 +267,12 @@ extern "C" {
266
267
return 1 ;
267
268
}
268
269
270
+ const char * quote (const char *str, const char quotemark) {
271
+ return Sass::quote (str, quotemark).c_str ();
272
+ }
273
+
274
+ const char * unquote (const char *str) {
275
+ return Sass::unquote (str).c_str ();
276
+ }
277
+
269
278
}
Original file line number Diff line number Diff line change @@ -88,6 +88,9 @@ int sass_compile (struct sass_context* ctx);
88
88
int sass_compile_file (struct sass_file_context * ctx );
89
89
int sass_compile_folder (struct sass_folder_context * ctx );
90
90
91
+ const char * quote (const char * str , const char quotemark );
92
+ const char * unquote (const char * str );
93
+
91
94
#ifdef __cplusplus
92
95
}
93
96
#endif
You can’t perform that action at this time.
0 commit comments