From: kosako Date: Fri, 6 May 2016 07:20:56 +0000 (+0900) Subject: add onig_unicode_define_property() into doc/API X-Git-Tag: v6.0.0^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=66019408c5f58520357287d6ec503d7f7b1e03ac;p=onig add onig_unicode_define_property() into doc/API --- diff --git a/doc/API b/doc/API index af764d6..e598988 100644 --- a/doc/API +++ b/doc/API @@ -1,4 +1,4 @@ -Oniguruma API Version 6.0.0 2016/04/05 +Oniguruma API Version 6.0.0 2016/05/06 #include @@ -591,6 +591,18 @@ Oniguruma API Version 6.0.0 2016/04/05 normal return: ONIG_NORMAL +# int onig_unicode_define_user_property(const char* name, OnigCodePoint* ranges)) + + Define new Unicode property. + + arguments + 1 name: property name (ASCII only. character ' ', '-', '_' are ignored.) + 2 ranges: property code point ranges + (first element is number of ranges.) + + normal return: ONIG_NORMAL + + # int onig_end(void) The use of this library is finished. diff --git a/doc/API.ja b/doc/API.ja index 88e3f8d..45c2e09 100644 --- a/doc/API.ja +++ b/doc/API.ja @@ -1,4 +1,4 @@ -µ´¼Ö¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹ Version 6.0.0 2016/04/06 +µ´¼Ö¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹ Version 6.0.0 2016/05/06 #include @@ -598,6 +598,18 @@ Àµ¾ï½ªÎ»Ìá¤êÃÍ: ONIG_NORMAL +# int onig_unicode_define_user_property(const char* name, OnigCodePoint* ranges)) + + ¿·¤·¤¤Unicode¥×¥í¥Ñ¥Æ¥£¤òÄêµÁ¤¹¤ë¡£ + + °ú¿ô + 1 name: ¥×¥í¥Ñ¥Æ¥£Ì¾ (ASCII¥³¡¼¥É¤Î¤ß¡£ ʸ»ú ' ', '-', '_' ¤Ï̵»ë¤µ¤ì¤ë¡£) + 2 ranges: ¥×¥í¥Ñ¥Æ¥£¥³¡¼¥É¥Ý¥¤¥ó¥ÈÈÏ°Ï + (ºÇ½é¤ÎÍ×ÁǤÏÈϰϤοô) + + Àµ¾ï½ªÎ»Ìá¤êÃÍ: ONIG_NORMAL + + # int onig_end(void) ¥é¥¤¥Ö¥é¥ê¤Î»ÈÍѤò½ªÎ»¤¹¤ë¡£