📄 cderror.h
字号:
/* * cderror.h * * Copyright (C) 1994-1997, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file defines the error and message codes for the cjpeg/djpeg * applications. These strings are not needed as part of the JPEG library * proper. * Edit this file to add new codes, or to translate the message strings to * some other language. *//* * To define the enum list of message codes, include this file without * defining macro JMESSAGE. To create a message string table, include it * again with a suitable JMESSAGE definition (see jerror.c for an example). */#ifndef JMESSAGE#ifndef CDERROR_H#define CDERROR_H/* First time through, define the enum list */#define JMAKE_ENUM_LIST#else/* Repeated inclusions of this file are no-ops unless JMESSAGE is defined */#define JMESSAGE(code,string)#endif /* CDERROR_H */#endif /* JMESSAGE */#ifdef JMAKE_ENUM_LISTtypedef enum {#define JMESSAGE(code,string) code ,#endif /* JMAKE_ENUM_LIST */JMESSAGE(JMSG_FIRSTADDONCODE=1000, NULL) /* Must be first entry! */#ifdef JMAKE_ENUM_LIST JMSG_LASTADDONCODE} ADDON_MESSAGE_CODE;#undef JMAKE_ENUM_LIST#endif /* JMAKE_ENUM_LIST *//* Zap JMESSAGE macro so that future re-inclusions do nothing by default */#undef JMESSAGE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -