Skip to content

Regenerate bindings against upstream master (PR #58 + #60)#2

Merged
55728 merged 1 commit into
mainfrom
regen/upstream-lsp-fixes-58-60
May 12, 2026
Merged

Regenerate bindings against upstream master (PR #58 + #60)#2
55728 merged 1 commit into
mainfrom
regen/upstream-lsp-fixes-58-60

Conversation

@55728
Copy link
Copy Markdown
Member

@55728 55728 commented May 12, 2026

Regenerate FFI bindings against the latest upstream master, which includes:

  • libBeresta#58 — lsp/header sync: Asian caption prefix fix, Encoder/EmbeddedFile/PDFAType/Image type additions
  • libBeresta#60 — PageNumStyle → PageNum enum rename in C headers and .lsp

Changes

File Change
asian.rb BRST_Use*BRST_Doc_Use* (×8)
doc_page.rb :PageNumStyle:PageNum
doc_xobject.rb Drop Image-based XObject ctors (moved to image.rb)
types.rb Add Encoder pointer + EmbeddedFile/PDFAType/Image dict typedefs
image.rb New — Image module (7 functions)

MISSING_SYMBOLS

19 → 3 (DocImagePng only — tracked in libBeresta#59, deferred with libBeresta#31)

CI: bundle exec rspec → 3 examples, 0 failures ✅

PR #58 (lsp/header sync, Encoder/EmbeddedFile/PDFAType/Image, Asian rename):
- asian.rb: BRST_Use{JP,KR,CNS,CNT}{Fonts,Encodings} → BRST_Doc_Use*
- types.rb: add Encoder pointer + EmbeddedFile/PDFAType/Image dict typedefs
- doc_xobject.rb: drop Image-based XObject ctors (now lives in image.rb)
- image.rb: new module for the Image.* functions

PR #60 (PageNumStyle → PageNum):
- doc_page.rb: BRST_Doc_Page_AddLabel param type renamed to :PageNum

MISSING_SYMBOLS: 3 (DocImagePng LoadFromMemory/LoadFromFile/LoadFromFile2),
unchanged from previous regen; PageNumStyle drift resolved.
@55728 55728 self-assigned this May 12, 2026
@55728 55728 merged commit 510ae1d into main May 12, 2026
3 checks passed
@55728 55728 deleted the regen/upstream-lsp-fixes-58-60 branch May 12, 2026 14:06
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