Skip to content

Commit 25a1d79

Browse files
committed
Merge pull request #1225 from tristanlins/hotfix/missing-importer-function-implementation
Add missing implementation of sass_importer_set_list_entry.
2 parents c93ffcb + 3525e02 commit 25a1d79

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sass_functions.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ extern "C" {
8888
return (Sass_Importer_List) calloc(length + 1, sizeof(Sass_Importer_Entry));
8989
}
9090

91+
Sass_Importer_Entry ADDCALL sass_importer_get_list_entry(Sass_Importer_List list, size_t idx) { return list[idx]; }
92+
void ADDCALL sass_importer_set_list_entry(Sass_Importer_List list, size_t idx, Sass_Importer_Entry cb) { list[idx] = cb; }
93+
9194
// Creator for sass custom importer return argument list
9295
Sass_Import_List ADDCALL sass_make_import_list(size_t length)
9396
{

0 commit comments

Comments
 (0)