galago-assert.h File Reference
Assertion API. More...
#include <libgalago/galago-log.h>
Go to the source code of this file.
Detailed Description
Assertion API.
- Copyright:
- (C) 2004-2005 Christian Hammond.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Definition in file galago-assert.h.
Define Documentation
|
Value: if (GALAGO_UNLIKELY(!(cond))) \ { \ galago_log(GALAGO_LOG_ASSERT, \ "file %s: line %d: assertion `%s' failed\n", \ __FILE__, \ __LINE__, \ #cond); \ goto label; \ } Definition at line 104 of file galago-assert.h. |
|
Value: if (GALAGO_UNLIKELY(!(cond))) \ { \ galago_log(GALAGO_LOG_ASSERT, \ "file %s: line %d: assertion `%s' failed\n", \ __FILE__, \ __LINE__, \ #cond); \ return; \ } Definition at line 104 of file galago-assert.h. |
|
Value: if (GALAGO_UNLIKELY(!(cond))) \ { \ galago_log(GALAGO_LOG_ASSERT, \ "file %s: line %d: assertion `%s' failed\n", \ __FILE__, \ __LINE__, \ #cond); \ return (value); \ } Definition at line 93 of file galago-assert.h. |