Browse Source

Doc stylization and print formats

This commit adds new formats for print string.
PFSIZETLH and PFSIZETUH - for lower and upper hexdecimal numbers.
Also adding stylization for script output section.
tags/v0.0.2
Kamil Biały 3 years ago
parent
commit
fda515cd61
3 changed files with 10 additions and 2 deletions
  1. +1
    -0
      .gitignore
  2. +3
    -0
      doc/source/_static/style.css
  3. +6
    -2
      inc/msconf.h

+ 1
- 0
.gitignore View File

@@ -1,5 +1,6 @@
*.out
doc/build/*
doc/xml/*
tst/gen/*
.vscode/*
.sublime/*

+ 3
- 0
doc/source/_static/style.css View File

@@ -116,3 +116,6 @@ div.sphinxsidebar a {
div.sphinxsidebar p {
padding: 0 20px;
}
.output.highlight-none .highlight pre {
background: #E8FAF1;
}

+ 6
- 2
inc/msconf.h View File

@@ -145,9 +145,13 @@
/* wyłącz ostrzeżenia o niebezpiecznych funkcjach w MSC */
#ifdef MSD_COMPILER_MSC
# define _CRT_SECURE_NO_WARNINGS
# define PFSIZET "Iu"
# define PFSIZET "Iu"
# define PFSIZETLH "Ix"
# define PFSIZETUH "IX"
#else
# define PFSIZET "zu"
# define PFSIZET "zu"
# define PFSIZETLH "zx"
# define PFSIZETUH "zX"
#endif

/* różny inline w zależności od kompilatora */

Loading…
Cancel
Save