/[ascend]/trunk/test/assertimpl.c
ViewVC logotype

Diff of /trunk/test/assertimpl.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 606 by johnpye, Wed Apr 5 05:14:20 2006 UTC revision 607 by johnpye, Tue May 16 04:19:20 2006 UTC
# Line 1  Line 1 
1  /*  /*  ASCEND modelling environment
2   *  Assert implementation override for ASCEND unit tests      Copyright (C) 2005 Jerry St.Clair
3   *      Copyright (C) 2006 Carnegie Mellon University
4   *  Copyright (C) 2005 Jerry St.Clair  
5   *      This program is free software; you can redistribute it and/or modify
6   *  This file is part of the Ascend Environment.      it under the terms of the GNU General Public License as published by
7   *      the Free Software Foundation; either version 2, or (at your option)
8   *  The Ascend Environment is free software; you can redistribute it      any later version.
9   *  and/or modify it under the terms of the GNU General Public License as  
10   *  published by the Free Software Foundation; either version 2 of the      This program is distributed in the hope that it will be useful,
11   *  License, or (at your option) any later version.      but WITHOUT ANY WARRANTY; without even the implied warranty of
12   *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13   *  The Ascend Environment is distributed in hope that it will be useful,      GNU General Public License for more details.
14   *  but WITHOUT ANY WARRANTY; without even the implied warranty of  
15   *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU      You should have received a copy of the GNU General Public License
16   *  General Public License for more details.      along with this program; if not, write to the Free Software
17   *      Foundation, Inc., 59 Temple Place - Suite 330,
18   *  You should have received a copy of the GNU General Public License      Boston, MA 02111-1307, USA.
19   *  along with the program; if not, write to the Free Software Foundation,  *//**
20   *  Inc., 675 Mass Ave, Cambridge, MA 02139 USA.  Check the file named      @file
21   *  COPYING.      Assert implementation override for ASCEND unit tests
22   */  */
23    
24  #include <stdio.h>  #include <stdio.h>
25  #include <stdlib.h>  #include <stdlib.h>
26  #include <setjmp.h>  #include <setjmp.h>
# Line 70  void _RTLENTRY _EXPFUNC _assert(char *co Line 70  void _RTLENTRY _EXPFUNC _assert(char *co
70  #  if defined(__GNUC__)  #  if defined(__GNUC__)
71  void __assert_fail (const char *cond, const char *file,  void __assert_fail (const char *cond, const char *file,
72             unsigned int line, const char *__function)             unsigned int line, const char *__function)
73  /*     __THROW __attribute__ ((__noreturn__)) */  /*     __THROW __attribute__ ((__noreturn__)) */
74  {  {
75    UNUSED_PARAMETER(__function);    UNUSED_PARAMETER(__function);
76    

Legend:
Removed from v.606  
changed lines
  Added in v.607

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22