@@ -15,7 +15,11 @@ const wrapSassOptions = (cwrap: cwrapSignature) => ({
15
15
'number'
16
16
] ) ,
17
17
//bool sass_option_get_source_map_embed (struct Sass_Options* options);
18
- option_get_source_map_embed : null ,
18
+ option_get_source_map_embed : cwrap < ( sassOptionsPtr : number ) => boolean > (
19
+ `sass_option_get_source_map_embed` ,
20
+ 'boolean' ,
21
+ [ 'number' ]
22
+ ) ,
19
23
//bool sass_option_get_source_map_contents (struct Sass_Options* options);
20
24
option_get_source_map_contents : null ,
21
25
//bool sass_option_get_source_map_file_urls (struct Sass_Options* options);
@@ -41,7 +45,9 @@ const wrapSassOptions = (cwrap: cwrapSignature) => ({
41
45
//const char* sass_option_get_output_path (struct Sass_Options* options);
42
46
option_get_output_path : null ,
43
47
//const char* sass_option_get_source_map_file (struct Sass_Options* options);
44
- option_get_source_map_file : null ,
48
+ option_get_source_map_file : cwrap < ( sassOptionsPtr : number ) => number > ( `sass_option_get_source_map_file` , 'number' , [
49
+ 'number'
50
+ ] ) ,
45
51
//const char* sass_option_get_source_map_root (struct Sass_Options* options);
46
52
option_get_source_map_root : null ,
47
53
//Sass_C_Function_List sass_option_get_c_functions (struct Sass_Options* options);
@@ -77,7 +83,11 @@ const wrapSassOptions = (cwrap: cwrapSignature) => ({
77
83
[ 'number' , 'boolean' ]
78
84
) ,
79
85
//void sass_option_set_source_map_embed (struct Sass_Options* options, bool source_map_embed);
80
- option_set_source_map_embed : null ,
86
+ option_set_source_map_embed : cwrap < ( sassOptionsPtr : number , embed : boolean ) => void > (
87
+ `sass_option_set_source_map_embed` ,
88
+ null ,
89
+ [ 'number' , 'boolean' ]
90
+ ) ,
81
91
//void sass_option_set_source_map_contents (struct Sass_Options* options, bool source_map_contents);
82
92
option_set_source_map_contents : null ,
83
93
//void sass_option_set_source_map_file_urls (struct Sass_Options* options, bool source_map_file_urls);
@@ -107,7 +117,11 @@ const wrapSassOptions = (cwrap: cwrapSignature) => ({
107
117
//void sass_option_set_include_path (struct Sass_Options* options, const char* include_path);
108
118
option_set_include_path : null ,
109
119
//void sass_option_set_source_map_file (struct Sass_Options* options, const char* source_map_file);
110
- option_set_source_map_file : null ,
120
+ option_set_source_map_file : cwrap < ( sassOptionsPtr : number , mapFile : number ) => void > (
121
+ `sass_option_set_source_map_file` ,
122
+ null ,
123
+ [ 'number' , 'number' ]
124
+ ) ,
111
125
//void sass_option_set_source_map_root (struct Sass_Options* options, const char* source_map_root);
112
126
option_set_source_map_root : null ,
113
127
//void sass_option_set_c_functions (struct Sass_Options* options, Sass_C_Function_List c_functions);
0 commit comments