/media/libnestegg/src/align.h
http://github.com/zpao/v8monkey · C Header · 36 lines · 15 code · 6 blank · 15 comment · 0 complexity · 4c864dcf60a40926674a1f0046789c95 MD5 · raw file
- /*
- * Copyright (c) 2004-2010 Alex Pankratov. All rights reserved.
- *
- * Hierarchical memory allocator, 1.2.1
- * http://swapped.cc/halloc
- */
- /*
- * The program is distributed under terms of BSD license.
- * You can obtain the copy of the license by visiting:
- *
- * http://www.opensource.org/licenses/bsd-license.php
- */
- #ifndef _LIBP_ALIGN_H_
- #define _LIBP_ALIGN_H_
- /*
- * a type with the most strict alignment requirements
- */
- union max_align
- {
- char c;
- short s;
- long l;
- int i;
- float f;
- double d;
- void * v;
- void (*q)(void);
- };
- typedef union max_align max_align_t;
- #endif