Blame source/uds/permassertInternals.h

Packit b55c50
/*
Packit b55c50
 * Copyright (c) 2020 Red Hat, Inc.
Packit b55c50
 *
Packit b55c50
 * This program is free software; you can redistribute it and/or
Packit b55c50
 * modify it under the terms of the GNU General Public License
Packit b55c50
 * as published by the Free Software Foundation; either version 2
Packit b55c50
 * of the License, or (at your option) any later version.
Packit b55c50
 * 
Packit b55c50
 * This program is distributed in the hope that it will be useful,
Packit b55c50
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit b55c50
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit b55c50
 * GNU General Public License for more details.
Packit b55c50
 * 
Packit b55c50
 * You should have received a copy of the GNU General Public License
Packit b55c50
 * along with this program; if not, write to the Free Software
Packit b55c50
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
Packit b55c50
 * 02110-1301, USA. 
Packit b55c50
 *
Packit b55c50
 * $Id: //eng/uds-releases/jasper/src/uds/permassertInternals.h#1 $
Packit b55c50
 */
Packit b55c50
Packit b55c50
#ifndef PERMASSERT_INTERNALS_H
Packit b55c50
#define PERMASSERT_INTERNALS_H
Packit b55c50
Packit b55c50
#include <stdarg.h>
Packit b55c50
Packit b55c50
#ifdef __cplusplus
Packit b55c50
extern "C" {
Packit b55c50
#endif
Packit b55c50
Packit b55c50
void handleAssertionFailure(const char *expressionString,
Packit b55c50
                            const char *fileName,
Packit b55c50
                            int         lineNumber,
Packit b55c50
                            const char *format,
Packit b55c50
                            va_list     args)
Packit b55c50
  __attribute__((format(printf, 4, 0)));
Packit b55c50
Packit b55c50
#ifdef __cplusplus
Packit b55c50
} /* extern "C" */
Packit b55c50
#endif
Packit b55c50
Packit b55c50
#endif /* PERMASSERT_INTERNALS_H */