Skip to content

Commit 201d9c3

Browse files
committed
revertme: remove const from SassValue
1 parent a84ba3b commit 201d9c3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_sass.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#define COLLECTIONS_ABC_MOD "collections"
1212
#endif
1313

14-
static PyObject* _to_py_value(const struct SassValue* value);
14+
static PyObject* _to_py_value(struct SassValue* value);
1515
static struct SassValue* _to_sass_value(PyObject* value);
1616

1717
static struct SassValue* _color_to_sass_value(PyObject* value);
@@ -25,7 +25,7 @@ static struct SassValue* _unknown_type_to_sass_error(PyObject* value);
2525
static struct SassValue* _exception_to_sass_error();
2626

2727

28-
static PyObject* _to_py_value(const struct SassValue* value) {
28+
static PyObject* _to_py_value(struct SassValue* value) {
2929
PyObject* retv = NULL;
3030
PyObject* types_mod = PyImport_ImportModule("sass");
3131
PyObject* sass_comma = PyObject_GetAttrString(types_mod, "SASS_SEPARATOR_COMMA");
@@ -363,7 +363,7 @@ static struct SassValue* _to_sass_value(PyObject* value) {
363363
}
364364

365365
static struct SassValue* _call_py_f(
366-
const struct SassValue* sass_args,
366+
struct SassValue* sass_args,
367367
Sass_Function_Entry cb,
368368
struct Sass_Compiler* compiler
369369
) {
@@ -374,7 +374,7 @@ static struct SassValue* _call_py_f(
374374
struct SassValue* sass_result = NULL;
375375

376376
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);
378378
PyObject* py_arg = NULL;
379379
if (!(py_arg = _to_py_value(sass_arg))) goto done;
380380
PyTuple_SetItem(py_args, i, py_arg);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy