Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

## [Unreleased]

### Changed
- Regenerated bindings against upstream naming-convention renames
(libBeresta PR #64). Six functions renamed on the FFI surface:
`BRST_Date_Now` → `BRST_Doc_Date_Now`,
`BRST_Doc_Create_ExtGState` → `BRST_Doc_ExtGState_New`,
`BRST_Doc_Pattern_Tiling_Create` → `BRST_Doc_Pattern_Tiling_New`
(also in `DocPagePattern`),
`BRST_Doc_XObject_Create` → `BRST_Doc_XObject_New`,
`BRST_Page_CreateDestination` → `BRST_Page_Destination_New`.

## [0.1.0] - TBD (pending libBeresta 1.0.0 release)

Initial experimental release.
Expand Down
2 changes: 1 addition & 1 deletion lib/brst/binding/ruby/date.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def self.safe_attach(name, args, ret)
MISSING_SYMBOLS << [name, e.message]
end

safe_attach :BRST_Date_Now, [:Doc], :Date
safe_attach :BRST_Doc_Date_Now, [:Doc], :Date
safe_attach :BRST_Date_Part, [:Date, :Date_Parts], :int32
safe_attach :BRST_Date_Validate, [:Date], :uint32
safe_attach :BRST_Date_Free, [:Date], :void
Expand Down
2 changes: 1 addition & 1 deletion lib/brst/binding/ruby/doc_ext_gstate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def self.safe_attach(name, args, ret)
MISSING_SYMBOLS << [name, e.message]
end

safe_attach :BRST_Doc_Create_ExtGState, [:Doc], :ExtGState
safe_attach :BRST_Doc_ExtGState_New, [:Doc], :ExtGState
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/brst/binding/ruby/doc_page_pattern.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def self.safe_attach(name, args, ret)
MISSING_SYMBOLS << [name, e.message]
end

safe_attach :BRST_Doc_Pattern_Tiling_Create, [:Doc, :float, :float, :float, :float, :float, :float, :Matrix], :Pattern
safe_attach :BRST_Doc_Pattern_Tiling_New, [:Doc, :float, :float, :float, :float, :float, :float, :Matrix], :Pattern
safe_attach :BRST_Doc_Pattern_Stream, [:Pattern], :Stream
safe_attach :BRST_Doc_Dict_RGBPatternFill_Select, [:Doc, :Dict, :float, :float, :float, :Pattern], :uint32
safe_attach :BRST_Doc_Dict_RGBPatternFillUint_Select, [:Doc, :Dict, :uint8, :uint8, :uint8, :Pattern], :uint32
Expand Down
2 changes: 1 addition & 1 deletion lib/brst/binding/ruby/doc_pattern.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def self.safe_attach(name, args, ret)
MISSING_SYMBOLS << [name, e.message]
end

safe_attach :BRST_Doc_Pattern_Tiling_Create, [:Doc, :float, :float, :float, :float, :float, :float, :Matrix], :Pattern
safe_attach :BRST_Doc_Pattern_Tiling_New, [:Doc, :float, :float, :float, :float, :float, :float, :Matrix], :Pattern
safe_attach :BRST_Doc_Pattern_Stream, [:Pattern], :Stream
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/brst/binding/ruby/doc_xobject.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def self.safe_attach(name, args, ret)
MISSING_SYMBOLS << [name, e.message]
end

safe_attach :BRST_Doc_XObject_Create, [:Doc, :float, :float, :float, :float], :XObject
safe_attach :BRST_Doc_XObject_New, [:Doc, :float, :float, :float, :float], :XObject
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/brst/binding/ruby/page_routines.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def self.safe_attach(name, args, ret)
safe_attach :BRST_Page_Insert_Shared_Content_Stream, [:Page, :Dict], :uint32
safe_attach :BRST_Page_RawWrite, [:Page, :string], :uint32
safe_attach :BRST_Page_SetExtGState, [:Page, :ExtGState], :uint32
safe_attach :BRST_Page_CreateDestination, [:Page], :Destination
safe_attach :BRST_Page_Destination_New, [:Page], :Destination
end
end
end
Expand Down
Loading