Fix shared library not exporting symbols on Windows (#1684)

* Fix shared library not exporting symbols on Windows

* Function name style
This commit is contained in:
Cheng
2024-12-11 06:59:14 +09:00
committed by GitHub
parent 0070e360a1
commit 92ab6bdeb8
4 changed files with 13 additions and 5 deletions

View File

@@ -51,7 +51,7 @@ struct PrintFormatter {
bool capitalize_bool{false};
};
extern PrintFormatter global_formatter;
PrintFormatter& get_global_formatter();
/** The type from promoting the arrays' types with one another. */
inline Dtype result_type(const array& a, const array& b) {