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:
1 parent
374b445a8f
commit
80bd330766
40 files changed
+137
-137
No files matched your search
@@ -23,7 +23,7 @@
|
||||
static char s_err[200] = "";
|
||||
const char* tb_svg_last_error(void) { return s_err; }
|
||||
|
||||
/* -- Utilitarios de parsing ---------------------------------------------- */
|
||||
/* -- Utilitarios de parsing --- */
|
||||
|
||||
static void skip_ws(const char** p) {
|
||||
while (**p && (isspace((unsigned char)**p) || **p == ',')) (*p)++;
|
||||
@@ -109,7 +109,7 @@ static bool parse_color(const char* s, float* r, float* g, float* b, float* a) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/* -- Cotas de imagens embutidas ------------------------------------------ */
|
||||
/* -- Cotas de imagens embutidas --- */
|
||||
|
||||
typedef struct { double x, y, w, h; TinyBlocks_Image* img; } SvgImg;
|
||||
#define SVG_MAX_IMGS 16
|
||||
@@ -157,7 +157,7 @@ static TinyBlocks_Image* decode_data_uri(const char* uri) {
|
||||
return img;
|
||||
}
|
||||
|
||||
/* -- Parsing de shapes ---------------------------------------------------- */
|
||||
/* -- Parsing de shapes --- */
|
||||
|
||||
typedef struct { double* xy; int n, cap; } Pts;
|
||||
|
||||
@@ -288,7 +288,7 @@ static void parse_path(TinyBlocks_VectorData* v, const char* d, bool do_fill, bo
|
||||
pts_free(&poly);
|
||||
}
|
||||
|
||||
/* -- Parse principal ------------------------------------------------------ */
|
||||
/* -- Parse principal --- */
|
||||
|
||||
static TinyBlocks_VectorData* svg_parse_internal(const char* svg, int* out_w, int* out_h,
|
||||
SvgImg* imgs, int* img_n) {
|
||||
@@ -451,7 +451,7 @@ TinyBlocks_Image* tb_svg_render(const char* svg, int w, int h) {
|
||||
return im;
|
||||
}
|
||||
|
||||
/* -- Blocos -------------------------------------------------------------- */
|
||||
/* -- Blocos --- */
|
||||
|
||||
|
||||
static void eval_parse(TinyBlocks_Block* self, TinyBlocks* rt) {
|
||||
|
||||
Reference in new issue
Block a user