Skip to content

Commit

Permalink
[Runtime] Fix TVM_DLL_EXPORT_TYPED_FUNC to work on Windows (apache#4955)
Browse files Browse the repository at this point in the history
* [Runtime] Fixed TVM_DLL_EXPORT_TYPED_FUNC to work on Windows

* fix style

Co-authored-by: Jon Soifer <jonso@microsoft.com>
  • Loading branch information
2 people authored and zhiics committed Apr 17, 2020
1 parent 19ffa67 commit 0a9291d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion include/tvm/runtime/packed_func.h
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,12 @@ class TVMRetValue : public TVMPODValue_ {
int* type_code, \
int num_args, \
TVMValue* out_value, \
int* out_type_code) { \
int* out_type_code); \
int ExportName(TVMValue* args, \
int* type_code, \
int num_args, \
TVMValue* out_value, \
int* out_type_code) { \
try { \
::tvm::runtime::TVMRetValue rv; \
Function(::tvm::runtime::TVMArgs( \
Expand Down

0 comments on commit 0a9291d

Please sign in to comment.