docs: Fix invalid static NSArray allocation

This commit is contained in:
Marc Rousavy 2021-08-28 10:19:06 +02:00 committed by GitHub
parent ff5a8b8900
commit dc02a6ec7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ iOS Frame Processor Plugins can be written in either **Objective-C** or **Swift*
@implementation QRCodeFrameProcessorPlugin
static inline id scanQRCodes(Frame* frame, NSArray args) {
static inline id scanQRCodes(Frame* frame, NSArray* args) {
CMSampleBufferRef buffer = frame.buffer;
UIImageOrientation orientation = frame.orientation;
// code goes here