Format source code

This commit is contained in:
Nishi 2026-06-18 13:40:14 +09:00
commit d0be6165c0
165 changed files with 30306 additions and 33687 deletions

60
Dict.h
View file

@ -31,45 +31,45 @@
#ifndef SJ3_DICT_H_
#define SJ3_DICT_H_
#define VersionPos 0
#define VersionPos 0
#define PasswdPos 16
#define PasswdLen 16
#define PasswdPos 16
#define PasswdLen 16
#define StdyNormPos 32
#define StdyNormLen 36
#define StdyNormNum 40
#define StdyNormCnt 44
#define StdyNormPos 32
#define StdyNormLen 36
#define StdyNormNum 40
#define StdyNormCnt 44
#define StdyClIdxPos 48
#define StdyClIdxLen 52
#define StdyClIdxStep 56
#define StdyClIdxPos 48
#define StdyClIdxLen 52
#define StdyClIdxStep 56
#define StdyClSegPos 64
#define StdyClSegLen 68
#define StdyClSegPos 64
#define StdyClSegLen 68
#define DictIdxPos 32
#define DictIdxLen 36
#define DictIdxPos 32
#define DictIdxLen 36
#define DictSegPos 48
#define DictSegLen 52
#define DictSegNum 56
#define DictSegMax 60
#define DictSegPos 48
#define DictSegLen 52
#define DictSegNum 56
#define DictSegMax 60
#define DictAIdxPos 64
#define DictAIdxLen 68
#define DictAIdxPos 64
#define DictAIdxLen 68
#define DictASegPos 80
#define DictASegLen 84
#define DictASegPos 80
#define DictASegLen 84
#define HeaderPos 0
#define HeaderLength 128
#define CommentPos 128
#define CommentLength 128
#define HeaderPos 0
#define HeaderLength 128
#define CommentPos 128
#define CommentLength 128
#define Byte2Long(c3,c2,c1,c0) (((c3) << (8*3)) | ((c2) << (8*2)) | \
((c1) << (8*1)) | ((c0) << (8*0)))
#define StdyVersion Byte2Long('S', 2, 0, 0)
#define DictVersion Byte2Long('D', 2, 0, 0)
#define Byte2Long(c3, c2, c1, c0) (((c3) << (8 * 3)) | ((c2) << (8 * 2)) | \
((c1) << (8 * 1)) | ((c0) << (8 * 0)))
#define StdyVersion Byte2Long('S', 2, 0, 0)
#define DictVersion Byte2Long('D', 2, 0, 0)
#endif /* SJ3_DICT_H_ */