version 1.1.1.1, 2011/06/08 07:09:12
|
version 1.1.1.2, 2012/02/17 12:50:03
|
Line 147 void axl_error_new (int code, char * error_code, axlSt
|
Line 147 void axl_error_new (int code, char * error_code, axlSt
|
|
|
/* create the error to be reported */ |
/* create the error to be reported */ |
error = axl_new (axlError, 1); |
error = axl_new (axlError, 1); |
|
/* check allocated value */ |
|
if (error == NULL) |
|
return; |
error->code = code; |
error->code = code; |
error->defined = -346715; |
error->defined = -346715; |
if (stream == NULL) { |
if (stream == NULL) { |
Line 210 void axl_error_report (axlError ** _error, int cod
|
Line 213 void axl_error_report (axlError ** _error, int cod
|
|
|
/* create the error to be reported */ |
/* create the error to be reported */ |
error = axl_new (axlError, 1); |
error = axl_new (axlError, 1); |
|
/* check reference */ |
|
if (error == NULL) { |
|
/* free string and clean called variable */ |
|
axl_free (string); |
|
(* _error) = NULL; |
|
return; |
|
} |
error->code = code; |
error->code = code; |
error->defined = -346715; |
error->defined = -346715; |
/* allocate enough memory */ |
/* allocate enough memory */ |