Comentários: separadores com no máximo "---"

Trechos com quatro ou mais hífens dentro de comentários viram "---"
(strings não mudam).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mguinhosandClaude Opus 5.5 committed 2026-10-23 07:24:19 -03:00
1 parent 374b445a8f
commit 80bd330766
40 files changed
+137 -137

No files matched your search

+5 -5
View File
@@ -40,7 +40,7 @@ static void push_point(TinyBlocks_JsonValue* arr, double x, double y) {
tb_json_release(pt);
}
/* -- Curvas -------------------------------------------------------------- */
/* -- Curvas --- */
TinyBlocks_JsonValue* tb_curves_line(double x0, double y0, double x1, double y1,
int steps) {
@@ -104,7 +104,7 @@ TinyBlocks_JsonValue* tb_curves_circle(double cx, double cy, double r, int steps
return tb_curves_arc(cx, cy, r, 0.0, 360.0, steps);
}
/* -- Leitura ------------------------------------------------------------- */
/* -- Leitura --- */
int tb_curves_count(const TinyBlocks_JsonValue* pts) {
if (!pts || tb_json_kind(pts) != TB_JSON_ARRAY) return 0;
@@ -128,7 +128,7 @@ bool tb_curves_point(const TinyBlocks_JsonValue* pts, int i, double* x, double*
return ok;
}
/* -- Helpers de entrada -------------------------------------------------- */
/* -- Helpers de entrada --- */
static int64_t in_int(TinyBlocks_Block* self, TinyBlocks* rt, uint32_t i) {
@@ -149,7 +149,7 @@ static void out_pts(TinyBlocks_Block* self, TinyBlocks_JsonValue* pts) {
self->dirty = false;
}
/* -- Blocos -------------------------------------------------------------- */
/* -- Blocos --- */
static void eval_line(TinyBlocks_Block* self, TinyBlocks* rt) {
out_pts(self, tb_curves_line(tb_block_input_number(self,rt,0, 0), tb_block_input_number(self,rt,1, 0),
@@ -195,7 +195,7 @@ static void eval_pointy(TinyBlocks_Block* self, TinyBlocks* rt) {
self->dirty = false;
}
/* -- Registro ------------------------------------------------------------ */
/* -- Registro --- */
static bool reg(TinyBlocks* rt, TinyBlocks_LibraryBlock* lib, const char* name,
const TinyBlocks_SlotDesc* in, uint32_t ni,