Commit 14dd0037 by Aaron Leung

Defining C-style symbolic constants for the CSS output styles.

parent 777a45d4
...@@ -2,6 +2,11 @@ ...@@ -2,6 +2,11 @@
extern "C" { extern "C" {
#endif #endif
#define SASS_STYLE_NESTED 0;
#define SASS_STYLE_EXPANDED 1;
#define SASS_STYLE_COMPACT 2;
#define SASS_STYLE_COMPRESSED 3;
struct sass_context { struct sass_context {
char* sass_path; char* sass_path;
char* css_path; char* css_path;
......
...@@ -31,7 +31,7 @@ int main(int argc, char** argv) ...@@ -31,7 +31,7 @@ int main(int argc, char** argv)
ctx->sass_path = NULL; ctx->sass_path = NULL;
ctx->css_path = NULL; ctx->css_path = NULL;
ctx->include_paths = "::/blah/bloo/fuzz:/slub/flub/chub::/Users/Aaron/dev/libsass/::::/huzz/buzz:::"; ctx->include_paths = "::/blah/bloo/fuzz:/slub/flub/chub::/Users/Aaron/dev/libsass/::::/huzz/buzz:::";
ctx->output_style = 0; ctx->output_style = SASS_STYLE_NESTED;
ctx->input_file = argv[1]; ctx->input_file = argv[1];
ctx->input_string = NULL; ctx->input_string = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment