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:
1 parent
1cc0ff9d02
commit
90d47bf8a0
36 files changed
+327
-327
No files matched your search
@@ -1,7 +1,7 @@
|
||||
#include <stdio.h>
|
||||
#include "tinyblocks/tinyblocks.h"
|
||||
|
||||
/* ── Vtable ──────────────────────────────────────────────────────────────── */
|
||||
/* -- Vtable --- */
|
||||
static void integer_eval(TinyBlocks_Block* self, TinyBlocks* rt)
|
||||
{
|
||||
(void)rt;
|
||||
@@ -38,7 +38,7 @@ static const TinyBlocks_BlockVTable s_integer_vtable = {
|
||||
.clone = integer_clone,
|
||||
};
|
||||
|
||||
/* ── Ciclo de vida ───────────────────────────────────────────────────────── */
|
||||
/* -- Ciclo de vida --- */
|
||||
TinyBlocks_IntegerBlock* tb_integer_block_create(TinyBlocks* rt, int64_t value)
|
||||
{
|
||||
TinyBlocks_IntegerBlock* ib = (TinyBlocks_IntegerBlock*)tb_block_alloc_base(
|
||||
@@ -54,7 +54,7 @@ void tb_integer_block_destroy(TinyBlocks_IntegerBlock* ib, TinyBlocks* rt)
|
||||
tb_block_destroy(&ib->base, rt);
|
||||
}
|
||||
|
||||
/* ── Acesso ──────────────────────────────────────────────────────────────── */
|
||||
/* -- Acesso --- */
|
||||
int64_t tb_integer_block_get(const TinyBlocks_IntegerBlock* ib)
|
||||
{
|
||||
return ib ? ib->value : 0;
|
||||
|
||||
Reference in new issue
Block a user