OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [include/] [obstack.h] - Diff between revs 157 and 225

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 157 Rev 225
Line 1... Line 1...
/* obstack.h - object stack macros
/* obstack.h - object stack macros
   Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1996, 1997, 1998,
   Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1996, 1997, 1998,
   1999, 2000, 2001, 2002, 2003, 2004, 2005
   1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
   Free Software Foundation, Inc.
   Free Software Foundation, Inc.
 
 
 
 
   NOTE: The canonical source of this file is maintained with the GNU C Library.
   NOTE: The canonical source of this file is maintained with the GNU C Library.
   Bugs can be reported to bug-glibc@gnu.org.
   Bugs can be reported to bug-glibc@gnu.org.
Line 525... Line 525...
                    & ~ ((h)->alignment_mask)),                         \
                    & ~ ((h)->alignment_mask)),                         \
  (((h)->next_free - (char *) (h)->chunk                                \
  (((h)->next_free - (char *) (h)->chunk                                \
    > (h)->chunk_limit - (char *) (h)->chunk)                           \
    > (h)->chunk_limit - (char *) (h)->chunk)                           \
   ? ((h)->next_free = (h)->chunk_limit) : 0),                           \
   ? ((h)->next_free = (h)->chunk_limit) : 0),                           \
  (h)->object_base = (h)->next_free,                                    \
  (h)->object_base = (h)->next_free,                                    \
  __INT_TO_PTR ((h)->temp))
  (void *) __INT_TO_PTR ((h)->temp))
 
 
# define obstack_free(h,obj)                                            \
# define obstack_free(h,obj)                                            \
( (h)->temp = (char *) (obj) - (char *) (h)->chunk,                     \
( (h)->temp = (char *) (obj) - (char *) (h)->chunk,                     \
  (((h)->temp > 0 && (h)->temp < (h)->chunk_limit - (char *) (h)->chunk)\
  (((h)->temp > 0 && (h)->temp < (h)->chunk_limit - (char *) (h)->chunk)\
   ? (int) ((h)->next_free = (h)->object_base                           \
   ? (int) ((h)->next_free = (h)->object_base                           \

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.