技术栈

nonnull

依旧风轻
1 年前
objective-c·cocoa·swift·nonnull
Bridging nonnull in Objective-C to Swift: Is It Safe?In the world of iOS development, bridging between Objective-C and Swift is a common practice, especially for legacy codebases (遗留代码库) or when integrating (集成) third-party libraries. One important aspect of this bridging is the handling of nonnull attribut
mzhan017
2 年前
c语言·warning·nonnull
C:warning: null argument where non-null required (argument 2) [-Wnonnull]main.c:950:32: warning: null argument where non-null required (argument 2) [-Wnonnull] 这个意思说,函数定义里面由一个attribute,标记第二个参数不能为空。