MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / is_self_closing

Function is_self_closing

internal/cbm/iris_export_xml.c:48–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 return p < end ? p + 1 : end;
47}
48static bool is_self_closing(const char *start, const char *gt) {
49 const char *p = gt - 1;
50 while (p > start && (*p == ' ' || *p == '\t'))
51 p--;
52 return *p == '/';
53}
54static void extract_attr(const char *ts, const char *te, const char *attr, char *out, size_t sz) {
55 out[0] = '\0';
56 size_t an = strlen(attr);

Callers 2

elem_contentFunction · 0.85
transcode_classFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected