| 1 | /* |
| 2 | * dex-test.h |
| 3 | * |
| 4 | * Copyright 2026 Christian Hergert |
| 5 | * |
| 6 | * This library is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU Lesser General Public License as |
| 8 | * published by the Free Software Foundation; either version 2.1 of the |
| 9 | * License, or (at your option) any later version. |
| 10 | * |
| 11 | * This library is distributed in the hope that it will be useful, but |
| 12 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 | * Lesser General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU General Public License along |
| 17 | * with this program. If not, see <http://www.gnu.org/licenses/>. |
| 18 | * |
| 19 | * SPDX-License-Identifier: LGPL-2.1-or-later |
| 20 | */ |
| 21 | |
| 22 | #pragma once |
| 23 | |
| 24 | #if !defined (DEX_INSIDE) && !defined (DEX_COMPILATION) |
| 25 | # error "Only <libdex.h> can be included directly." |
| 26 | #endif |
| 27 | |
| 28 | #include "dex-version-macros.h" |
| 29 | |
| 30 | G_BEGIN_DECLS |
| 31 | |
| 32 | DEX_AVAILABLE_IN_1_2 |
| 33 | void dex_test_add_func (const char *testpath, |
| 34 | GTestFunc test_func); |
| 35 | |
| 36 | G_END_DECLS |