Back to index

im-sdk  12.3.91
Defines | Functions
hangul.c File Reference
#include <stddef.h>
#include <IMProtocolStruct.h>
#include "table_prv.h"
#include "hangul.h"

Go to the source code of this file.

Defines

#define TABLE_PRIVATE_DEFINED

Functions

UTFCHAR hangul_combining_chosung_to_compatibility_jamo (UTFCHAR ch)
UTFCHAR hangul_combining_jungsung_to_compatibility_moeum (UTFCHAR ch)
UTFCHAR hangul_combining_jongsung_to_compatibility_jaeum (UTFCHAR ch)
UTFCHAR hangul_combining_chosung_to_combining_jongsung (UTFCHAR cchosung)
UTFCHAR hangul_combining_jongsung_to_combining_chosung (UTFCHAR jongsung)

Define Documentation

Definition at line 34 of file hangul.c.


Function Documentation

Definition at line 66 of file hangul.c.

{
  /*
    cchosung : compatibility jamo chosung
    cjongsung: compatibility jamo jongsung
   */
  UTFCHAR cjongsung;

  if (cchosung < 0x1100 || cchosung > 0x1112)
    cjongsung = 0;
  else
    cjongsung =
      _combining_chosung_to_combining_jongsung[cchosung - 0x1100];

  return cjongsung;
}

Here is the caller graph for this function:

Definition at line 39 of file hangul.c.

{
  if (ch < 0x1100 || ch > 0x1112)
    return 0;
  else
    return _combining_chosung_to_compatibility_chosung[ch - 0x1100];
}

Here is the caller graph for this function:

Definition at line 84 of file hangul.c.

{
#if 0
  static UTFCHAR table[] = {
    0x1100, 0x1101, 0x1109, 0x1102,
    0x110c, 0x1112, 0x1103, 0x1105,
    0x1100, 0x1106, 0x1107, 0x1109,
    0x1110, 0x1111, 0x1112, 0x1106,
    0x1107, 0x1109, 0x1109, 0x110a,
    0x110b, 0x110c, 0x110e, 0x110f,
    0x1110, 0x1111, 0x1112 
  };
#endif
  
  if (jongsung < 0x11a8 || jongsung > 0x11c2)
    return 0;
  else
    return _combining_jongsung_to_combining_chosung[jongsung - 0x11a8];
}

Here is the caller graph for this function:

Definition at line 57 of file hangul.c.

{
  if (ch < 0x11a8 || ch > 0x11c2)
    return 0;
  else
    return _combining_jongsung_to_compatibility_jaeum[ch - 0x11a8];
}

Here is the caller graph for this function:

Definition at line 48 of file hangul.c.

{
  if (ch < 0x1161 || ch > 0x1175)
    return 0;
  else
    return _combining_jungsung_to_compatibility_moeum[ch - 0x1161];
}

Here is the caller graph for this function: