Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Providing explicit null pointer for the provided_arg_stypes. #7791

Merged
merged 1 commit into from
Sep 7, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions perl-package/AI-MXNetCAPI/mxnet_typemaps.i
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down