Bug 245284 - [WTF] Implement convenience functions for CFArray <-> Vector conversions
Summary: [WTF] Implement convenience functions for CFArray <-> Vector conversions
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: David Kilzer (:ddkilzer)
URL:
Keywords: InRadar
Depends on: 210138
Blocks:
  Show dependency treegraph
 
Reported: 2022-09-16 10:27 PDT by David Kilzer (:ddkilzer)
Modified: 2022-09-20 01:23 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2022-09-16 10:27:25 PDT
Implement convenience functions for CFArray <-> Vector conversions and put them to use.

I did not have a goal to try to find every place these could be used (that can be done in follow-ups), but rather to find at least one place they could be used, and to write tests for them.

I used Darin's Source/WTF/wtf/cocoa/VectorCocoa.h as a basis.
Comment 1 Radar WebKit Bug Importer 2022-09-16 10:29:41 PDT
<rdar://problem/100032945>
Comment 2 David Kilzer (:ddkilzer) 2022-09-16 11:02:31 PDT
Pull request: https://github.com/WebKit/WebKit/pull/4423
Comment 3 EWS 2022-09-20 01:23:05 PDT
Committed 254665@main (2f9450c601c6): <https://commits.webkit.org/254665@main>

Reviewed commits have been landed. Closing PR #4423 and removing active labels.