From: cuz Date: Tue, 15 Jun 2004 09:08:31 +0000 (+0000) Subject: Use enum, declare count of errors X-Git-Tag: V2.12.0~708 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=191801d7a168e58ff414734ad7ec0e658eb85c45;p=cc65 Use enum, declare count of errors git-svn-id: svn://svn.cc65.org/cc65/trunk@3124 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/asminc/tgi-error.inc b/asminc/tgi-error.inc index 258c0c24c..b52055cfa 100644 --- a/asminc/tgi-error.inc +++ b/asminc/tgi-error.inc @@ -6,10 +6,10 @@ ;* */ ;* */ ;* */ -;* (C) 2002 Ullrich von Bassewitz */ -;* Wacholderweg 14 */ -;* D-70597 Stuttgart */ -;* EMail: uz@musoftware.de */ +;* (C) 2002-2004 Ullrich von Bassewitz */ +;* Römerstraße 52 */ +;* D-70794 Filderstadt */ +;* EMail: uz@cc65.org */ ;* */ ;* */ ;* This software is provided 'as-is', without any expressed or implied */ @@ -34,12 +34,15 @@ ; Error constants -TGI_ERR_OK = 0 ; No error -TGI_ERR_NO_DRIVER = 1 ; No driver available -TGI_ERR_LOAD_ERROR = 2 ; Error loading driver -TGI_ERR_INV_DRIVER = 3 ; Invalid driver -TGI_ERR_INV_MODE = 4 ; Mode not supported by driver -TGI_ERR_INV_ARG = 5 ; Invalid function argument -TGI_ERR_INV_FUNC = 6 ; Function not supported +.enum + TGI_ERR_OK ; No error + TGI_ERR_NO_DRIVER ; No driver available + TGI_ERR_LOAD_ERROR ; Error loading driver + TGI_ERR_INV_DRIVER ; Invalid driver + TGI_ERR_INV_MODE ; Mode not supported by driver + TGI_ERR_INV_ARG ; Invalid function argument + TGI_ERR_INV_FUNC ; Function not supported + TGI_ERR_COUNT ; Special: Number of error messages +.endenum