From 9dd2447d42fd6c822139f3cd1fd2cd284346e5e8 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Fri, 1 Feb 2013 19:34:23 +0100 Subject: fixed buffer Ring initialization * there was a dependency on interface initialization. it did not cause issues because destruction order was by chance. * introduced INIT_PRIO and PRIO_* macros to easy initialization order declaration (using a PRIO_* formula makes code self-documenting) * also used this to clean up QRegisterTable initialization (we do not need the explicit initialize() method) * also used to clean up symbols initialization --- src/symbols-extract.tes | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/symbols-extract.tes') diff --git a/src/symbols-extract.tes b/src/symbols-extract.tes index 841530c..ec3a76a 100755 --- a/src/symbols-extract.tes +++ b/src/symbols-extract.tes @@ -51,11 +51,17 @@ Ga ZJB 0,.Mq J ! format as C/C++ array ! I/* - * AUTOGENERATED - DO NOT EDIT + * AUTOGENERATED FROM Qi + * DO NOT EDIT */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include "Qi" +#include "sciteco.h" #include "symbols.h" static const SymbolList::Entry entries[] = { @@ -69,7 +75,7 @@ static const SymbolList::Entry entries[] = { .-Z;> I}; -__attribute__((constructor(2000))) +__attribute__((constructor(PRIO_SYMBOLS))) static void initialize(void) { -- cgit v1.2.3