alias alias An alias declaration inside a lib declares a C typedef : lib X alias MyInt = Int32 end Now Int32 and MyInt are interchangeable: lib X ali...
alias alias An alias declaration inside a lib declares a C typedef : lib X alias MyInt = Int32 end Now Int32 and MyInt are interchangeable: lib X al...
alias alias An alias declaration inside a lib declares a C typedef : lib X alias MyInt = Int32 end Now Int32 and MyInt are interchangeable: lib X alia...
alias alias An alias declaration inside a lib declares a C typedef : lib X alias MyInt = Int32 end Now Int32 and MyInt are interchangeable: lib X alia...
Library Library Let’s create a library, and then see how to link it to another crate. pub fn public_function () { println !( "called rary's `public_function()`" ); }...
Variables Variables Variables exposed by a C library can be declared inside a lib declaration using a global-variable-like declaration: lib C $errno : Int32 end Th...