xeme/xeme

Add a simple unit test for the input stream and fix a few issues
/*
* Copyright (C) 2023 Dodo Developers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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, see <https://www.gnu.org/licenses/>.
*/
#ifndef DODO_H
#define DODO_H
#ifndef __GI_SCANNER__ /* hide this bit from g-ir-scanner */
# ifdef DODO_COMPILATION
# error "dodo source files should not be including dodo.h"
# endif /* DODO_COMPILATION */
#endif /* __GI_SCANNER__ */
#ifndef DODO_GLOBAL_HEADER_INSIDE
# define DODO_GLOBAL_HEADER_INSIDE
#endif /* DODO_GLOBAL_HEADER_INSIDE */
@DODO_H_INCLUDES@
#undef DODO_GLOBAL_HEADER_INSIDE
#endif /* DODO_H */