Skip to content

Expose reflective QBS names - #68

Merged
ip332 merged 1 commit into
mainfrom
runtime/c-qbs-reflective-names
Sep 17, 2026
Merged

ip332 merged 1 commit into
mainfrom
runtime/c-qbs-reflective-names

Conversation

@ip332

@ip332 ip332 commented Sep 17, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add public generic C APIs for QBS reflective string lookup and record, field, and enum type names.
  • Reuse quarry_string_view_t with non-owning pointer/length semantics.
  • Return clean statuses for unavailable minimal-QBS names, invalid indexes, invalid arguments, and malformed string-table state.
  • Document lifetime and the fact that enum values remain numeric; no BRF printer or QBS format change is included.

Validation

  • Complete CTest: 52/52 passed
  • Generic C, QBS parser/serializer, traversal, packaging, and interoperability tests passed
  • Strict C99 runtime build passed
  • git diff --check passed

Quarry version: 0.1.30; QBS v1; BRF v2; generated-code compatibility epochs unchanged.

@ip332
ip332 merged commit 6c443fa into main Sep 17, 2026
5 checks passed
@ip332
ip332 deleted the runtime/c-qbs-reflective-names branch September 17, 2026 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant