Skip to content

Commit 39956a4

Browse files
committed
Add some documentation about using an autorelease pool
1 parent d30dd87 commit 39956a4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

core-text/src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212

1313
#![allow(non_snake_case)]
1414

15+
/*!
16+
Many of these functions will add objects to the autorelease pool.
17+
If you don't have one this will cause leaks.
18+
*/
19+
1520
extern crate foreign_types;
1621
extern crate libc;
1722

0 commit comments

Comments
 (0)