Use FreeCallback to support mixed Windows runtime libs #152

This commit is contained in:
Lovell Fuller
2015-11-14 13:58:05 +00:00
parent ede2ee9ce3
commit 2678d761ba
6 changed files with 37 additions and 6 deletions

5
src/common.h Executable file → Normal file
View File

@@ -80,6 +80,11 @@ namespace sharp {
*/
int InterpolatorWindowSize(char const *name);
/*
Called when a Buffer undergoes GC, required to support mixed runtime libraries in Windows
*/
void FreeCallback(char* data, void* hint);
} // namespace sharp
#endif // SRC_COMMON_H_