Skip to content
This repository was archived by the owner on Jan 25, 2024. It is now read-only.

Commit 5781c10

Browse files
committed
fix(sassoptions): correct imported functions
1 parent 200eb77 commit 5781c10

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/interop/options/wrapSassOptions.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ const wrapSassOptions = (cwrap: cwrapSignature) => ({
5454
]),
5555
//const char* sass_option_get_source_map_root (struct Sass_Options* options);
5656
option_get_source_map_root: null,
57-
//Sass_C_Function_List sass_option_get_c_functions (struct Sass_Options* options);
57+
//Sass_Importer_List sass_option_get_c_headers (struct Sass_Options* options);
58+
sass_option_get_c_headers: null,
59+
//Sass_Importer_List sass_option_get_c_importers (struct Sass_Options* options);
60+
sass_option_get_c_importers: null,
61+
//Sass_Function_List sass_option_get_c_functions (struct Sass_Options* options);
5862
option_get_c_functions: null,
59-
//Sass_C_Import_Callback sass_option_get_importer (struct Sass_Options* options);
60-
option_get_importer: () => {
61-
throw new Error('not implemented');
62-
},
6363

6464
//size_t sass_option_get_include_path_size(struct Sass_Options* options);
6565
option_get_include_path_size: null,
@@ -141,12 +141,12 @@ const wrapSassOptions = (cwrap: cwrapSignature) => ({
141141
),
142142
//void sass_option_set_source_map_root (struct Sass_Options* options, const char* source_map_root);
143143
option_set_source_map_root: null,
144-
//void sass_option_set_c_functions (struct Sass_Options* options, Sass_C_Function_List c_functions);
144+
//void sass_option_set_c_headers (struct Sass_Options* options, Sass_Importer_List c_headers);
145+
option_set_c_headers: null,
146+
//void sass_option_set_c_importers (struct Sass_Options* options, Sass_Importer_List c_importers);
147+
option_set_c_importers: null,
148+
//void sass_option_set_c_functions (struct Sass_Options* options, Sass_Function_List c_functions);
145149
option_set_c_functions: null,
146-
//void sass_option_set_importer (struct Sass_Options* options, Sass_C_Import_Callback importer);
147-
option_set_importer: () => {
148-
throw new Error('not implemented');
149-
},
150150

151151
//void sass_option_push_plugin_path (struct Sass_Options* options, const char* path);
152152
option_push_plugin_path: cwrap<(sassOptionsPtr: number, path: number) => void>(`sass_option_push_plugin_path`, null, [

0 commit comments

Comments
 (0)