Skip to content

Commit 2b2e0ed

Browse files
authored
Merge pull request #218 from FenrirWolf/new_opaque_types
Make some new libctru types opaque
2 parents a116b5a + cf0d34b commit 2b2e0ed

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

ctru-sys/build.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,11 @@ fn main() {
139139
.blocklist_type("(in_addr|wchar|socklen|suseconds|sa_family|time)_t")
140140
.blocklist_item("SOL_CONFIG")
141141
.opaque_type("MiiData")
142+
.opaque_type("FriendInfo")
143+
.opaque_type("DecryptedApproachContext")
144+
.opaque_type("CFLStoreData")
145+
.opaque_type("AccountInfo")
146+
.opaque_type("ExistentServerAccountData")
142147
.derive_default(true)
143148
.wrap_static_fns(true)
144149
.wrap_static_fns_path(out_dir.join("libctru_statics_wrapper"))
@@ -281,6 +286,11 @@ fn generate_layout_tests(
281286
test_generator
282287
// Opaque types:
283288
.blocklist_type("MiiData")
289+
.blocklist_type("FriendInfo")
290+
.blocklist_type("DecryptedApproachContext")
291+
.blocklist_type("CFLStoreData")
292+
.blocklist_type("AccountInfo")
293+
.blocklist_type("ExistentServerAccountData")
284294
// Bitfields:
285295
.blocklist_field(
286296
"ExHeader_SystemInfoFlags",

0 commit comments

Comments
 (0)