mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 04:30:10 +00:00
Use enum, declare count of errors
git-svn-id: svn://svn.cc65.org/cc65/trunk@3124 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
9b7fcec4b4
commit
191801d7a1
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user