Skip to content

Commit eeb86aa

Browse files
committed
Adjust a few function for future compat
1 parent a4a0ccc commit eeb86aa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/fn_miscs.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace Sass {
3232
}
3333
}
3434

35-
Signature global_variable_exists_sig = "global-variable-exists($name)";
35+
Signature global_variable_exists_sig = "global-variable-exists($name, $module: null)";
3636
BUILT_IN(global_variable_exists)
3737
{
3838
std::string s = unquote(ARGSTRC("$name")->value());
@@ -45,7 +45,7 @@ namespace Sass {
4545
}
4646
}
4747

48-
Signature function_exists_sig = "function-exists($name)";
48+
Signature function_exists_sig = "function-exists($name, $module: null)";
4949
BUILT_IN(function_exists)
5050
{
5151
String_Constant* ss = Cast<String_Constant>(env["$name"]);
@@ -63,7 +63,7 @@ namespace Sass {
6363
}
6464
}
6565

66-
Signature mixin_exists_sig = "mixin-exists($name)";
66+
Signature mixin_exists_sig = "mixin-exists($name, $module: null)";
6767
BUILT_IN(mixin_exists)
6868
{
6969
std::string s = unquote(ARGSTRC("$name")->value());
@@ -208,7 +208,7 @@ namespace Sass {
208208
return SASS_MEMORY_NEW(Boolean, pstate, d_env.has_lexical("@content[m]"));
209209
}
210210

211-
Signature get_function_sig = "get-function($name, $css: false)";
211+
Signature get_function_sig = "get-function($name, $css: false, $module: null)";
212212
BUILT_IN(get_function)
213213
{
214214
String_Constant* ss = Cast<String_Constant>(env["$name"]);

0 commit comments

Comments
 (0)