[前][次][番号順一覧][スレッド一覧]

ruby-changes:67791

From: =E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3 <ko1@a...>
Date: Fri, 10 Sep 2021 20:02:02 +0900 (JST)
Subject: [ruby-changes:67791] 974a9e4fba (master): include/ruby/internal/intern/dir.h: add doxygen

https://git.ruby-lang.org/ruby.git/commit/?id=974a9e4fba

From 974a9e4fba646727c9ba8ebfe898ad17286a5f12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?=
 <shyouhei@r...>
Date: Fri, 7 May 2021 14:49:09 +0900
Subject: include/ruby/internal/intern/dir.h: add doxygen

Must not be a bad idea to improve documents. [ci skip]
---
 include/ruby/internal/intern/dir.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/include/ruby/internal/intern/dir.h b/include/ruby/internal/intern/dir.h
index 4b2608e..da1873e 100644
--- a/include/ruby/internal/intern/dir.h
+++ b/include/ruby/internal/intern/dir.h
@@ -26,6 +26,15 @@ https://github.com/ruby/ruby/blob/trunk/include/ruby/internal/intern/dir.h#L26
 RBIMPL_SYMBOL_EXPORT_BEGIN()
 
 /* dir.c */
+
+/**
+ * Queries the path of the current working directory of the current process.
+ *
+ * @return  An instance of ::rb_cString that holds the working directory.
+ * @note    The returned string  is in "filesystem" encoding.   Most notably on
+ *          Linux this is an alias  of default external encoding.  Most notably
+ *          on Windows it can be an alias of OS codepage.
+ */
 VALUE rb_dir_getwd(void);
 
 RBIMPL_SYMBOL_EXPORT_END()
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]