Skip to content

Commit e330689

Browse files
committed
Merge pull request #2078 from am11/master
Export memory allocator functions to public API
2 parents e80b63d + 99d5cc5 commit e330689

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/sass/base.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ enum Sass_Output_Style {
6363
};
6464

6565
// to allocate buffer to be filled
66-
void* sass_alloc_memory(size_t size);
66+
ADDAPI void* ADDCALL sass_alloc_memory(size_t size);
6767
// to allocate a buffer from existing string
68-
char* sass_copy_c_string(const char* str);
68+
ADDAPI char* ADDCALL sass_copy_c_string(const char* str);
6969
// to free overtaken memory when done
70-
void sass_free_memory(void* ptr);
70+
ADDAPI void ADDCALL sass_free_memory(void* ptr);
7171

7272
// Some convenient string helper function
7373
ADDAPI char* ADDCALL sass_string_quote (const char* str, const char quote_mark);

0 commit comments

Comments
 (0)