[KoCo-CVS] [Commit] KoreanCodecs/src hangul.c
Brought to you by:
perky
From: Chang <pe...@us...> - 2002-04-28 19:40:05
|
perky 02/04/27 14:01:19 Modified: src hangul.c Log: - Just a style fix Revision Changes Path 1.9 +4 -5 KoreanCodecs/src/hangul.c Index: hangul.c =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/src/hangul.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- hangul.c 27 Apr 2002 20:59:21 -0000 1.8 +++ hangul.c 27 Apr 2002 21:01:19 -0000 1.9 @@ -4,14 +4,14 @@ * KoreanCodecs Hangul Module C Implementation * * Author : Hye-Shik Chang <pe...@fa...> - * Date : $Date: 2002/04/27 20:59:21 $ + * Date : $Date: 2002/04/27 21:01:19 $ * Created : 25 April 2002 * - * $Revision: 1.8 $ + * $Revision: 1.9 $ */ static char *version = -"$Id: hangul.c,v 1.8 2002/04/27 20:59:21 perky Exp $"; +"$Id: hangul.c,v 1.9 2002/04/27 21:01:19 perky Exp $"; #include "Python.h" @@ -614,8 +614,6 @@ /* Add some symbolic constants to the module */ d = PyModule_GetDict(m); - PyDict_SetItemString(d, "Space", UniSpace); - /*Py_DECREF(UniSpace); never die */ SET_INTCONSTANT(d, NCHOSUNG); SET_INTCONSTANT(d, NJUNGSUNG); SET_INTCONSTANT(d, NJONGSUNG); @@ -748,6 +746,7 @@ tuni[0] = JUNGSUNG_FILLER; PyDict_SetItemString(d, "JUNGSUNG_FILLER", PyUnicode_FromUnicode(tuni, 1)); PyDict_SetItemString(d, "Null", UniNull); + PyDict_SetItemString(d, "Space", UniSpace); PyDict_SetItemString(d, "version", PyString_FromString(version)); |