Skip to content

Conversation

@RyanUnderhill
Copy link
Contributor

The macros/defines are still at the top but these will probably be moved to a separate file.

The functions are ordered by what you'd need to do first and next by category.

@RyanUnderhill RyanUnderhill requested a review from a team as a code owner December 20, 2018 19:28
@RyanUnderhill RyanUnderhill requested a review from snnn December 20, 2018 19:28
yuanbyu
yuanbyu previously approved these changes Dec 20, 2018
#endif
#define ORT_API_CALL _stdcall
#define ORT_MUST_USE_RESULT
#define TCHAR_T wchar_t
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you find a new name? TCHAR is not good. Because we compile our code in ANSI mode on Windows, TCHAR is char but here TCHAR_T is wchar_t.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you suggest? I just wanted to avoid the #ifdef _WIN32

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I talked to you, we'll change it to ORTCHAR_T for now, then fix it to be TCHAR once we verify we an build in Unicode/multibyte properly on windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants