1#ifndef SASS_FN_NUMBERS_H
2#define SASS_FN_NUMBERS_H
3
4#include "fn_utils.hpp"
5
6namespace Sass {
7
8 namespace Functions {
9
10 // return a number object (copied since we want to have reduced units)
11 #define ARGN(argname) get_arg_n(argname, env, sig, pstate, traces) // Number copy
12
13 extern Signature percentage_sig;
14 extern Signature round_sig;
15 extern Signature ceil_sig;
16 extern Signature floor_sig;
17 extern Signature abs_sig;
18 extern Signature min_sig;
19 extern Signature max_sig;
20 extern Signature inspect_sig;
21 extern Signature random_sig;
22 extern Signature unique_id_sig;
23 extern Signature unit_sig;
24 extern Signature unitless_sig;
25 extern Signature comparable_sig;
26
27 BUILT_IN(percentage);
28 BUILT_IN(round);
29 BUILT_IN(ceil);
30 BUILT_IN(floor);
31 BUILT_IN(abs);
32 BUILT_IN(min);
33 BUILT_IN(max);
34 BUILT_IN(inspect);
35 BUILT_IN(random);
36 BUILT_IN(unique_id);
37 BUILT_IN(unit);
38 BUILT_IN(unitless);
39 BUILT_IN(comparable);
40
41 }
42
43}
44
45#endif

source code of gtk/subprojects/libsass/src/fn_numbers.hpp