Commit b23c6869 by Hampton Catlin

Pedantic restructuring based on perceived complexity.

parent 23aee687
...@@ -20,33 +20,33 @@ struct sass_context { ...@@ -20,33 +20,33 @@ struct sass_context {
char* error_message; char* error_message;
}; };
struct sass_folder_context { struct sass_file_context {
char* search_path; char* input_path;
char* output_path; char* output_string;
struct sass_options options; struct sass_options options;
int error_status; int error_status;
char* error_message; char* error_message;
}; };
struct sass_file_context { struct sass_folder_context {
char* input_path; char* search_path;
char* output_string; char* output_path;
struct sass_options options; struct sass_options options;
int error_status; int error_status;
char* error_message; char* error_message;
}; };
struct sass_context* sass_new_context (); struct sass_context* sass_new_context ();
struct sass_folder_context* sass_new_folder_context ();
struct sass_file_context* sass_new_file_context (); struct sass_file_context* sass_new_file_context ();
struct sass_folder_context* sass_new_folder_context ();
void sass_free_context (struct sass_context* ctx); void sass_free_context (struct sass_context* ctx);
void sass_free_folder_context (struct sass_folder_context* ctx);
void sass_free_file_context (struct sass_file_context* ctx); void sass_free_file_context (struct sass_file_context* ctx);
void sass_free_folder_context (struct sass_folder_context* ctx);
int sass_compile (struct sass_context* ctx); int sass_compile (struct sass_context* ctx);
int sass_compile_folder (struct sass_folder_context* ctx);
int sass_compile_file (struct sass_file_context* ctx); int sass_compile_file (struct sass_file_context* ctx);
int sass_compile_folder (struct sass_folder_context* ctx);
#ifdef __cplusplus #ifdef __cplusplus
} }
......
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