Skip to content

Commit 6a740b1

Browse files
committed
Merge pull request #983 from rodneyrehm/feature/add-included_files-taker
feature(sass_context): adding sass_context_take_included_files()
2 parents 948854a + 1015f4e commit 6a740b1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

sass_context.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -795,6 +795,7 @@ extern "C" {
795795
IMPLEMENT_SASS_CONTEXT_TAKER(char*, error_file);
796796
IMPLEMENT_SASS_CONTEXT_TAKER(char*, output_string);
797797
IMPLEMENT_SASS_CONTEXT_TAKER(char*, source_map_string);
798+
IMPLEMENT_SASS_CONTEXT_TAKER(char**, included_files);
798799

799800
// Push function for include paths (no manipulation support for now)
800801
void ADDCALL sass_option_push_include_path(struct Sass_Options* options, const char* path)

sass_context.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ ADDAPI char* ADDCALL sass_context_take_error_message (struct Sass_Context* ctx);
117117
ADDAPI char* ADDCALL sass_context_take_error_file (struct Sass_Context* ctx);
118118
ADDAPI char* ADDCALL sass_context_take_output_string (struct Sass_Context* ctx);
119119
ADDAPI char* ADDCALL sass_context_take_source_map_string (struct Sass_Context* ctx);
120+
ADDAPI char** ADDCALL sass_context_take_included_files (struct Sass_Context* ctx);
120121

121122
// Push function for paths (no manipulation support for now)
122123
ADDAPI void ADDCALL sass_option_push_plugin_path (struct Sass_Options* options, const char* path);

0 commit comments

Comments
 (0)