mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-11 03:56:16 +00:00
LibPDF: Make operator parsing use ReadonlySpan instead of Vector
No behavior change.
This commit is contained in:
parent
369f1d72ba
commit
78dea9500f
Notes:
sideshowbarker
2024-07-17 03:14:39 +09:00
Author: https://github.com/nico
Commit: 78dea9500f
Pull-request: https://github.com/SerenityOS/serenity/pull/21517
Reviewed-by: https://github.com/ADKaster ✅
4 changed files with 24 additions and 24 deletions
|
@ -114,11 +114,11 @@ private:
|
|||
|
||||
PDFErrorOr<void> handle_operator(Operator const&, Optional<NonnullRefPtr<DictObject>> = {});
|
||||
#define V(name, snake_name, symbol) \
|
||||
PDFErrorOr<void> handle_##snake_name(Vector<Value> const& args, Optional<NonnullRefPtr<DictObject>> = {});
|
||||
PDFErrorOr<void> handle_##snake_name(ReadonlySpan<Value> args, Optional<NonnullRefPtr<DictObject>> = {});
|
||||
ENUMERATE_OPERATORS(V)
|
||||
#undef V
|
||||
PDFErrorOr<void> handle_text_next_line_show_string(Vector<Value> const& args, Optional<NonnullRefPtr<DictObject>> = {});
|
||||
PDFErrorOr<void> handle_text_next_line_show_string_set_spacing(Vector<Value> const& args, Optional<NonnullRefPtr<DictObject>> = {});
|
||||
PDFErrorOr<void> handle_text_next_line_show_string(ReadonlySpan<Value> args, Optional<NonnullRefPtr<DictObject>> = {});
|
||||
PDFErrorOr<void> handle_text_next_line_show_string_set_spacing(ReadonlySpan<Value> args, Optional<NonnullRefPtr<DictObject>> = {});
|
||||
|
||||
void begin_path_paint();
|
||||
void end_path_paint();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue