view test/mex/bug_51725.c @ 31192:7401a2501be4

maint: merge stable to default
author Rik <rik@octave.org>
date Mon, 15 Aug 2022 21:06:21 -0700
parents e255f09dc70e
children
line wrap: on
line source

#include "mex.h"

void mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
{
  if (nlhs > 0)
    plhs[0] = mxCreateDoubleMatrix (0, 0, mxREAL);

  if (nlhs > 2)
    plhs[2] = mxCreateDoubleMatrix (0, 0, mxREAL);
}