Unify include/ and sj3h/
Signed-off-by: Masanori Ogino <mogino@acm.org>
This commit is contained in:
parent
dc20a8ab89
commit
aab8e6f362
13 changed files with 0 additions and 0 deletions
114
include/conversion.h
Normal file
114
include/conversion.h
Normal file
|
|
@ -0,0 +1,114 @@
|
|||
/*
|
||||
* Copyright (c) 1994 Sony Corporation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject to
|
||||
* the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be
|
||||
* included in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL SONY CORPORATION BE LIABLE FOR ANY CLAIM,
|
||||
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
||||
* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
|
||||
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*
|
||||
* Except as contained in this notice, the name of Sony Corporation
|
||||
* shall not be used in advertising or otherwise to promote the sale, use
|
||||
* or other dealings in this Software without prior written authorization
|
||||
* from Sony Corporation.
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* $SonyRCSfile: conversion.h,v $
|
||||
* $SonyRevision: 1.1 $
|
||||
* $SonyDate: 1994/06/03 08:03:43 $
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#include "sj2.h"
|
||||
#include "sj3libsj3.h"
|
||||
#include "henkan.h"
|
||||
|
||||
typedef struct bunsetu_sj3 Bunsetu;
|
||||
|
||||
typedef struct _Conversion {
|
||||
u_short out_mode[BUFFLENGTH*2];
|
||||
|
||||
u_short Plen[BUFFLENGTH];
|
||||
u_short OrgPlen[BUFFLENGTH];
|
||||
u_short Bpoint[BUFFLENGTH];
|
||||
u_short Edit[BUFFLENGTH];
|
||||
u_short span_l[BUFFLENGTH];
|
||||
u_short Elen[BUFFLENGTH];
|
||||
u_short Displen[BUFFLENGTH];
|
||||
|
||||
u_short Vindex[BUFFLENGTH * 2];
|
||||
|
||||
short ha_point;
|
||||
short ha_epoint;
|
||||
short out_point;
|
||||
short out_epoint;
|
||||
short span_point;
|
||||
short Bnum;
|
||||
short Enum;
|
||||
short e_point;
|
||||
|
||||
u_short line;
|
||||
u_short column;
|
||||
|
||||
u_short PushCurrentVcol;
|
||||
u_short Vlen;
|
||||
u_short SavedRow;
|
||||
u_short SavedCol;
|
||||
u_short CurrentVcol;
|
||||
u_short MaxVcol;
|
||||
|
||||
short CurBun;
|
||||
short PreBun;
|
||||
|
||||
Bunsetu Bun[BUFFLENGTH];
|
||||
|
||||
wchar16_t out_buf[BUFFLENGTH * 2];
|
||||
u_char in_mode[BUFFLENGTH * 2];
|
||||
wchar16_t *span_p[BUFFLENGTH];
|
||||
wchar16_t *Ppoint[BUFFLENGTH];
|
||||
wchar16_t *Epoint[BUFFLENGTH];
|
||||
wchar16_t Halpha[BUFFLENGTH];
|
||||
u_char kettei[BUFFLENGTH];
|
||||
u_char Pkettei[BUFFLENGTH];
|
||||
u_char Pedited[BUFFLENGTH];
|
||||
wchar16_t Ebuff[EDITLEN];
|
||||
u_char Bkettei[BUFFLENGTH];
|
||||
u_char Dispmod[BUFFLENGTH];
|
||||
wchar16_t yomiout[BUFFLENGTH * 2];
|
||||
wchar16_t kanjiout[BUFFLENGTH * 4];
|
||||
|
||||
u_char Imode;
|
||||
u_char BuffMode;
|
||||
u_char Kanji;
|
||||
u_char Dflag;
|
||||
u_char word_regist;
|
||||
u_char Cflag;
|
||||
u_char henkanflag;
|
||||
|
||||
u_char wrap;
|
||||
} Conversion;
|
||||
|
||||
|
||||
wchar16_t osave_buf[BUFFLENGTH * 2];
|
||||
u_short osave_mode[BUFFLENGTH * 2];
|
||||
u_short isave_mode[BUFFLENGTH * 2];
|
||||
u_short os_point;
|
||||
|
||||
wchar16_t hsave_buf[BUFFLENGTH];
|
||||
u_short hs_point;
|
||||
Loading…
Add table
Add a link
Reference in a new issue