Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-03-26 06:57:45 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-03-26 06:58:30 +0300
commit8adeab4b0ea68f7d1f51c77536fed6d24bb3bd1e (patch)
tree30d93885412bacb7a4f9e26feebea5a46d8d5971 /intern/ghost
parentce528d02e103776895ad9c60d9c3b0a3356f335b (diff)
Cleanup: use code doxy command for Python snippet
Diffstat (limited to 'intern/ghost')
-rw-r--r--intern/ghost/intern/GHOST_IconX11.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_IconX11.h b/intern/ghost/intern/GHOST_IconX11.h
index 615a7dae6b5..403d611b71d 100644
--- a/intern/ghost/intern/GHOST_IconX11.h
+++ b/intern/ghost/intern/GHOST_IconX11.h
@@ -24,7 +24,8 @@
#pragma once
-/*
+/**
+ * \code{.py}
* import bpy
* import textwrap
*
@@ -42,6 +43,7 @@
* print("%d,%d," % (w, h))
* text = ", ".join(["0x%x" % p for p in pixels])
* print(textwrap.fill(text, width=120), end=",\n")
+ * \endcode
*/
/**