This is an automated email from the ASF dual-hosted git repository.
jxie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new 5bd63f6 providing explicit null pointer for the provided_arg_stypes.
(#7791)
5bd63f6 is described below
commit 5bd63f619f6cf006e13473b05e8b64aa2a90d842
Author: Sergey Kolychev <[email protected]>
AuthorDate: Thu Sep 7 10:18:03 2017 -0700
providing explicit null pointer for the provided_arg_stypes. (#7791)
---
perl-package/AI-MXNetCAPI/mxnet_typemaps.i | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/perl-package/AI-MXNetCAPI/mxnet_typemaps.i
b/perl-package/AI-MXNetCAPI/mxnet_typemaps.i
index 5d2fbd6..586907e 100644
--- a/perl-package/AI-MXNetCAPI/mxnet_typemaps.i
+++ b/perl-package/AI-MXNetCAPI/mxnet_typemaps.i
@@ -822,13 +822,10 @@
%typemap(in,numinputs=0) (const mx_uint num_provided_arg_stypes, const char**
provided_arg_stype_names,
const int* provided_arg_stypes)
- (mx_uint temp1, char* temp2, int temp3)
{
- $2 = &temp2;
- $3 = &temp3;
$1 = 0;
- *$2 = NULL;
- *$3 = 0;
+ $2 = NULL;
+ $3 = NULL;
}
%typemap(in,numinputs=0) (mx_uint* num_aux_states,
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].