Commit 8deb4b7d by Aaron Leung

Adding missing declarations and fixing mis-named stuff.

parent 82b95b9e
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
extern "C" { extern "C" {
using namespace std; using namespace std;
sass_context* sass_new_context() sass_context* sass_new_context()
{ return (sass_context*) malloc(sizeof(sass_context)); } { return (sass_context*) malloc(sizeof(sass_context)); }
......
...@@ -40,9 +40,15 @@ struct sass_context* sass_new_context (); ...@@ -40,9 +40,15 @@ struct sass_context* sass_new_context ();
struct sass_folder_context* sass_new_folder_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 ();
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);
int sass_compile (struct sass_context*); int sass_compile (struct sass_context*);
// int sass_folder_compile (struct sass_folder_context*); //int sass_compile_folder (struct sass_folder_context*);
int sass_file_compile (struct sass_file_context*); int sass_compile_file (struct sass_file_context*);
void sass_free_file_context (struct sass_file_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