diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-03-26 06:57:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-03-26 06:58:30 +0300 |
commit | 8adeab4b0ea68f7d1f51c77536fed6d24bb3bd1e (patch) | |
tree | 30d93885412bacb7a4f9e26feebea5a46d8d5971 | |
parent | ce528d02e103776895ad9c60d9c3b0a3356f335b (diff) |
Cleanup: use code doxy command for Python snippet
-rw-r--r-- | intern/ghost/intern/GHOST_IconX11.h | 4 |
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 */ /** |