Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: third_party/yasm/patched-yasm/util.h

Issue 6170009: Update our yasm copy to yasm 1.1.0 (Part 1: yasm side)... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* $Id: util.h 2101 2008-05-23 06:46:51Z peter $ 1 /* $Id: util.h 2273 2010-01-13 04:44:28Z peter $
2 * YASM utility functions. 2 * YASM utility functions.
3 * 3 *
4 * Includes standard headers and defines prototypes for replacement functions 4 * Includes standard headers and defines prototypes for replacement functions
5 * if needed. 5 * if needed.
6 * 6 *
7 * Copyright (C) 2001-2007 Peter Johnson 7 * Copyright (C) 2001-2007 Peter Johnson
8 * 8 *
9 * Redistribution and use in source and binary forms, with or without 9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions 10 * modification, are permitted provided that the following conditions
11 * are met: 11 * are met:
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 #ifndef NELEMS 162 #ifndef NELEMS
163 /** Get the number of elements in an array. 163 /** Get the number of elements in an array.
164 * \internal 164 * \internal
165 * \param array array 165 * \param array array
166 * \return Number of elements. 166 * \return Number of elements.
167 */ 167 */
168 #define NELEMS(array) (sizeof(array) / sizeof(array[0])) 168 #define NELEMS(array) (sizeof(array) / sizeof(array[0]))
169 #endif 169 #endif
170 170
171 #endif 171 #endif
OLDNEW
« no previous file with comments | « third_party/yasm/patched-yasm/tools/re2c/Makefile.inc ('k') | third_party/yasm/patched-yasm/x86insn_gas.gperf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698