11
11
#define COLLECTIONS_ABC_MOD "collections"
12
12
#endif
13
13
14
- static PyObject * _to_py_value (const struct SassValue * value );
14
+ static PyObject * _to_py_value (struct SassValue * value );
15
15
static struct SassValue * _to_sass_value (PyObject * value );
16
16
17
17
static struct SassValue * _color_to_sass_value (PyObject * value );
@@ -25,7 +25,7 @@ static struct SassValue* _unknown_type_to_sass_error(PyObject* value);
25
25
static struct SassValue * _exception_to_sass_error ();
26
26
27
27
28
- static PyObject * _to_py_value (const struct SassValue * value ) {
28
+ static PyObject * _to_py_value (struct SassValue * value ) {
29
29
PyObject * retv = NULL ;
30
30
PyObject * types_mod = PyImport_ImportModule ("sass" );
31
31
PyObject * sass_comma = PyObject_GetAttrString (types_mod , "SASS_SEPARATOR_COMMA" );
@@ -363,7 +363,7 @@ static struct SassValue* _to_sass_value(PyObject* value) {
363
363
}
364
364
365
365
static struct SassValue * _call_py_f (
366
- const struct SassValue * sass_args ,
366
+ struct SassValue * sass_args ,
367
367
Sass_Function_Entry cb ,
368
368
struct Sass_Compiler * compiler
369
369
) {
@@ -374,7 +374,7 @@ static struct SassValue* _call_py_f(
374
374
struct SassValue * sass_result = NULL ;
375
375
376
376
for (i = 0 ; i < sass_list_get_length (sass_args ); i += 1 ) {
377
- const struct SassValue * sass_arg = sass_list_get_value (sass_args , i );
377
+ struct SassValue * sass_arg = sass_list_get_value (sass_args , i );
378
378
PyObject * py_arg = NULL ;
379
379
if (!(py_arg = _to_py_value (sass_arg ))) goto done ;
380
380
PyTuple_SetItem (py_args , i , py_arg );
0 commit comments