Skip to content

Commit 45d157d

Browse files
committed
Use proper name of block2
1 parent 1421a5c commit 45d157d

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

cocoa-foundation/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ license = "MIT OR Apache-2.0"
1212
default-target = "x86_64-apple-darwin"
1313

1414
[dependencies]
15-
block = { version = "=0.2.0-alpha.8", package = "block2" }
15+
block2 = "=0.2.0-alpha.8"
1616
bitflags = "1.0"
1717
libc = "0.2"
1818
core-foundation = { path = "../core-foundation", version = "0.9" }

cocoa-foundation/src/foundation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#![allow(non_upper_case_globals)]
1111

1212
use base::{id, nil, BOOL, NO, SEL};
13-
use block::Block;
13+
use block2::Block;
1414
use libc;
1515
use objc2::encode::{Encode, Encoding, RefEncode};
1616
use std::os::raw::c_void;

cocoa-foundation/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#![allow(non_snake_case)]
1111

12-
extern crate block;
12+
extern crate block2;
1313
#[macro_use]
1414
extern crate bitflags;
1515
extern crate core_foundation;

cocoa-foundation/tests/foundation.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#[macro_use]
22
extern crate objc2;
3-
extern crate block;
3+
extern crate block2;
44
extern crate cocoa_foundation;
55

66
#[cfg(test)]
@@ -108,7 +108,7 @@ mod foundation {
108108
}
109109

110110
mod nsdictionary {
111-
use block::ConcreteBlock;
111+
use block2::ConcreteBlock;
112112
use cocoa_foundation::base::{id, nil};
113113
use cocoa_foundation::foundation::{
114114
NSArray, NSComparisonResult, NSDictionary, NSFastEnumeration, NSString,

cocoa/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ license = "MIT OR Apache-2.0"
1212
default-target = "x86_64-apple-darwin"
1313

1414
[dependencies]
15-
block = { version = "=0.2.0-alpha.8", package = "block2" }
15+
block2 = "=0.2.0-alpha.8"
1616
bitflags = "1.0"
1717
libc = "0.2"
1818
cocoa-foundation = { path = "../cocoa-foundation", version = "0.1" }

cocoa/src/appkit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#![allow(non_upper_case_globals)]
1111

1212
use base::{id, BOOL, SEL};
13-
use block::Block;
13+
use block2::Block;
1414
use foundation::{
1515
NSInteger, NSPoint, NSRange, NSRect, NSRectEdge, NSSize, NSTimeInterval, NSUInteger,
1616
};

cocoa/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#![crate_type = "rlib"]
1212
#![allow(non_snake_case)]
1313

14-
extern crate block;
14+
extern crate block2;
1515
#[macro_use]
1616
extern crate bitflags;
1717
#[macro_use]

cocoa/src/quartzcore.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1357,7 +1357,7 @@ impl CARenderer {
13571357
// You can't actually construct any `CATransaction` objects, so that class is
13581358
// really just a module.
13591359
pub mod transaction {
1360-
use block::{Block, ConcreteBlock, IntoConcreteBlock, RcBlock};
1360+
use block2::{Block, ConcreteBlock, IntoConcreteBlock, RcBlock};
13611361
use core_foundation::base::TCFType;
13621362
use core_foundation::date::CFTimeInterval;
13631363
use core_foundation::string::CFString;

0 commit comments

Comments
 (0)