1 /* -*- Mode: C; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the Mozilla Public License Version 2.0.
7 // See license.mkd for licensing and copyright information.
8 // -------------------------------------------------------------------------*/
11 * External test support.
16 #ifndef SQUIRRELJME_EXTERNTEST_H
17 #define SQUIRRELJME_EXTERNTEST_H
19 #include "sjme/nvm/nvm.h"
23 #ifndef SJME_CXX_IS_EXTERNED
24 #define SJME_CXX_IS_EXTERNED
25 #define SJME_CXX_SQUIRRELJME_EXTERNTEST_H
27 #endif /* #ifdef SJME_CXX_IS_EXTERNED */
28 #endif /* #ifdef __cplusplus */
30 /*--------------------------------------------------------------------------*/
33 * Basic main test entry point.
35 * @param argc Argument count.
36 * @param argv Program arguments.
37 * @param nextTest The name of the next test.
38 * @return The exit code.
41 int sjme_test_main(int argc
, sjme_lpstr
* argv
, sjme_lpcstr
* nextTest
);
43 /*--------------------------------------------------------------------------*/
47 #ifdef SJME_CXX_SQUIRRELJME_EXTERNTEST_H
49 #undef SJME_CXX_SQUIRRELJME_EXTERNTEST_H
50 #undef SJME_CXX_IS_EXTERNED
51 #endif /* #ifdef SJME_CXX_SQUIRRELJME_EXTERNTEST_H */
52 #endif /* #ifdef __cplusplus */
54 #endif /* SQUIRRELJME_EXTERNTEST_H */