Converte símbolos Unicode decorativos dos comentários para ASCII

Substitui barras de caixa (─ ═ │ ┌ ┐ └ ┘ ├ ┤ ┬ ┴), travessões (—),
setas (→ ←), reticências (…), bullets (•), multiplicação (×) e
guillemets (› ‹) por equivalentes ASCII. Acentos portugueses são
preservados.
This commit is contained in:
mguinhos committed 2026-10-20 19:27:33 -03:00
1 parent 1cc0ff9d02
commit 90d47bf8a0
36 files changed
+327 -327

No files matched your search

+3 -3
View File
@@ -1,7 +1,7 @@
#include <stdio.h>
#include "tinyblocks/tinyblocks.h"
/* ── Vtable ──────────────────────────────────────────────────────────────── */
/* -- Vtable --- */
static void real_eval(TinyBlocks_Block* self, TinyBlocks* rt)
{
(void)rt;
@@ -38,7 +38,7 @@ static const TinyBlocks_BlockVTable s_real_vtable = {
.clone = real_clone,
};
/* ── Ciclo de vida ───────────────────────────────────────────────────────── */
/* -- Ciclo de vida --- */
TinyBlocks_RealBlock* tb_real_block_create(TinyBlocks* rt, double value)
{
TinyBlocks_RealBlock* rb = (TinyBlocks_RealBlock*)tb_block_alloc_base(
@@ -54,7 +54,7 @@ void tb_real_block_destroy(TinyBlocks_RealBlock* rb, TinyBlocks* rt)
tb_block_destroy(&rb->base, rt);
}
/* ── Acesso ──────────────────────────────────────────────────────────────── */
/* -- Acesso --- */
double tb_real_block_get(const TinyBlocks_RealBlock* rb)
{
return rb ? rb->value : 0.0;