Re: [rust-dev] Seattle Rust Meetup interest?

2014-05-12 Thread Paul Nathan
Remedy Teas on Capitol Hill if interest is 7 people. I am open to other alternatives, but don't usually prefer places with alcohol. I e I like coffee and tea shops. On May 12, 2014 10:14 AM, benjamin adamson adamson.benja...@gmail.com wrote: +1 where in Seattle are you thinking? On May 11,

[rust-dev] how to capture de-reference to ~int

2014-05-12 Thread Noah Watkins
I am trying to capture the reference to type `~int` with the following code. I can change it to apply to bare `int` and it works fine. #[lang=deref] pub trait DerefResult { fn deref'a('a self) - 'a Result; } impl Deref~int for ~int { fn deref'a('a self) - 'a ~int { println!(deref

[rust-dev] Casting *c_uchar to *c_char

2014-05-12 Thread Christophe Pedretti
Hi all, Vladimir suggested to use CString::new(sqlite3_errmsg(*ppDb), false) and then as_str() on the CString in order to obtain a Rust String from a *c_char. Another SQLite function, sqlite3_column_text, return a *c_uchar; so, tu use the CString new, which takes a *c_char as argument, i can

Re: [rust-dev] Casting *c_uchar to *c_char

2014-05-12 Thread comex
On Mon, May 12, 2014 at 6:41 PM, Christophe Pedretti christophe.pedre...@gmail.com wrote: Another SQLite function, sqlite3_column_text, return a *c_uchar; so, tu use the CString new, which takes a *c_char as argument, i can cast CString::new(sqlite3_column_text(pStmt, column_index) as *i8,

Re: [rust-dev] Seattle Rust Meetup interest?

2014-05-12 Thread Eli Lindsey
+1 Somewhere around Capitol Hill would be very convenient. On May 12, 2014, at 11:31 AM, Paul Nathan pnathan.softw...@gmail.com wrote: Remedy Teas on Capitol Hill if interest is 7 people. I am open to other alternatives, but don't usually prefer places with alcohol. I e I like coffee