00001 00002 /* 00003 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab 00004 * Copyright (C) INRIA - Allan CORNET 00005 * 00006 * This file must be used under the terms of the CeCILL. 00007 * This source file is licensed as described in the file COPYING, which 00008 * you should have received as part of this distribution. The terms 00009 * are also available at 00010 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt 00011 * 00012 */ 00013 00014 #include "error.h" 00015 #include "MALLOC.h" /* NULL*/ 00016 #include "error_internal.h" 00017 /*--------------------------------------------------------------------------*/ 00018 int C2F(error)(integer *n) 00019 { 00020 return error_internal(n,NULL,ERROR_FROM_FORTRAN); 00021 } 00022 /*--------------------------------------------------------------------------*/ 00023 void SciError(int n) 00024 { 00025 C2F(error)(&n); 00026 } 00027 /*--------------------------------------------------------------------------*/
1.5.5