Remove src/dummy.m
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
1611635e5f
commit
d473b52f5a
3 changed files with 1 additions and 16 deletions
|
@ -14,7 +14,7 @@ use objc::{
|
|||
class,
|
||||
declare::ClassDecl,
|
||||
msg_send,
|
||||
runtime::{Object, Protocol, Sel},
|
||||
runtime::{Object, Sel},
|
||||
sel, sel_impl,
|
||||
};
|
||||
use simplelog::SimpleLogger;
|
||||
|
@ -55,7 +55,6 @@ fn main() {
|
|||
let display_height: usize = msg_send![display, height];
|
||||
|
||||
let mut decl = ClassDecl::new("CaptureOutput", class!(NSObject)).unwrap();
|
||||
decl.add_protocol(Protocol::get("SCStreamOutput").unwrap());
|
||||
decl.add_method(sel!(stream:didOutputSampleBuffer:ofType:), sample_output as extern "C" fn(&Object, Sel, id, id, SCStreamOutputType));
|
||||
let capture_output_class = decl.register();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue