mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-25 03:17:52 +02:00
docs: let go of *
Since we are no longer using sgml mode, using /* */ to escape block comments inside examples does not work anymore. Switch to using line comments with //
This commit is contained in:
@@ -290,11 +290,11 @@ g_mkdir_with_parents (const gchar *pathname,
|
||||
* to know whether it is safe to write to a file without being
|
||||
* tricked into writing into a different location. It doesn't work!
|
||||
* |[<!-- language="C" -->
|
||||
* /* DON'T DO THIS */
|
||||
* // DON'T DO THIS
|
||||
* if (!g_file_test (filename, G_FILE_TEST_IS_SYMLINK))
|
||||
* {
|
||||
* fd = g_open (filename, O_WRONLY);
|
||||
* /* write to fd */
|
||||
* // write to fd
|
||||
* }
|
||||
* ]|
|
||||
*
|
||||
|
Reference in New Issue
Block a user