*** empty log message ***

This commit is contained in:
Dave Goodwin 2004-05-24 00:12:10 +00:00
parent ae4240be74
commit 25d9d8bac7

View file

@ -7,8 +7,10 @@
#include <string.h>
void reportError() {
int buflen = 300;
char* output_buf = (char*)mxCalloc(buflen, sizeof(char));
int buflen = 0;
char* output_buf = 0;
buflen = getCanteraError(buflen, output_buf);
output_buf = (char*)mxCalloc(buflen, sizeof(char));
getCanteraError(buflen, output_buf);
mexErrMsgTxt(output_buf);
}
@ -47,6 +49,7 @@ void ctfunctions( int nlhs, mxArray *plhs[],
output_buf = (char*)mxCalloc(buflen, sizeof(char));
iok = getCanteraError(buflen, output_buf);
plhs[0] = mxCreateString(output_buf);
iok = 0;
return;
// add directory