Skip to content

Commit

Permalink
return $Failed in case of an error
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Voigt authored and Alexander Voigt committed Jun 25, 2016
1 parent bb9bf54 commit 0b94a32
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions templates/mathlink.cpp.in
Expand Up @@ -53,8 +53,7 @@ extern "C" {

void put_error_output()
{
MLPutFunction(stdlink, "List", 0);
MLEndPacket(stdlink);
MLPutSymbol(stdlink, "$Failed");
}

/******************************************************************/
Expand Down

0 comments on commit 0b94a32

Please sign in to comment.