Commit f817c28d authored by Vivien Kraus's avatar Vivien Kraus
Browse files

Reorder definitions

The goal is to include the implementation last, but for that we need
to forward declare =setup_contents=.  And we also need to import
=string.h= earlier.
parent b62c1d7a
......@@ -20,10 +20,10 @@
#include <config.h>
#include <tarot/xml_private.h>
#include <tarot/xml_private_impl.h>
#include <tarot/game_private.h>
#include <tarot/mcts_private.h>
#include "xalloc.h"
#include <string.h>
#ifdef __FRAMAC__
#undef alignof
......@@ -131,6 +131,8 @@ tarot_xml_parser_iterator_free (TarotXmlParserIterator * iterator)
free (iterator);
}
static int setup_contents (TarotXmlParserIterator * iterator);
const TarotGameEvent *
tarot_xml_parser_iterator_next_value (TarotXmlParserIterator * iterator)
{
......@@ -805,3 +807,4 @@ tarot_xml_save_mcts_tree (const TarotMcts * mcts, size_t start, size_t max,
#include <tarot/game_private_impl.h>
#include <tarot/mcts_private_impl.h>
#include <tarot/xml_private_impl.h>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment