fix(generate): extern allocator functions for the template don't need to be "exported"
This commit is contained in:
parent
54a31069af
commit
92675117a6
3 changed files with 5 additions and 18 deletions
|
|
@ -97,9 +97,6 @@ fn tree_sitter_dir(package_json: &str, name: &str) -> tempfile::TempDir {
|
|||
format!(
|
||||
r##"
|
||||
#include "tree_sitter/parser.h"
|
||||
#ifdef TS_PUBLIC
|
||||
#undef TS_PUBLIC
|
||||
#endif
|
||||
#ifdef _WIN32
|
||||
#define TS_PUBLIC __declspec(dllexport)
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue