/* * MISC.C * * (c)Copyright 1993-2014, Matthew Dillon, All Rights Reserved. See the * COPYRIGHT file at the base of the distribution. */ #include "defs.h" string_t String_Self; string_t String_This; string_t String_Super; string_t String_Pointer; string_t String_SelfContained; string_t String_Preempt; string_t String_NoPreempt; string_t String_Immediate; void LibRuneInit(void) { static int DidInit; if (DidInit == 0) { DidInit = 1; String_Self = StrTableAlloc("self", 4, 0); String_This = StrTableAlloc("this", 4, 0); String_Super = StrTableAlloc("super", 5, 0); String_Pointer = StrTableAlloc("Pointer", 7, 0); String_SelfContained = StrTableAlloc("selfcontained", 13, 0); TypeInit(); InitDecls(); String_Preempt = StrTableAlloc("preempt", 7, SPECIAL_AUX_PREEMPT); String_NoPreempt = StrTableAlloc("nopreempt", 9, SPECIAL_AUX_NOPREEMPT); String_Immediate = StrTableAlloc("immediate", 9, SPECIAL_AUX_IMMEDIATE); dassert(sizeof(float) <= 4); dassert(sizeof(double) <= 8); dassert(sizeof(long double) <= 16); } }