#![feature(proc_macro)]
extern crate intercom;
use intercom::*;
struct __FooVtbl;
const IID_Foo: intercom::IID = intercom::GUID {
data1: 0,
data2: 0,
data3: 0,
data4: [0, 0, 0, 0, 0, 0, 0, 0],
};
#[com_class("{00000000-0000-0000-0000-000000000000}", Foo)]
struct Foo;
#[com_impl]
impl Foo
{
fn static_method(a: u16, b: i16) {}
fn simple_method(&self) {}
fn arg_method(&self, a: u16) {}
fn simple_result_method(&self) -> u16 { 0 }
fn com_result_method(&self) -> ComResult<u16> { Ok(0) }
fn rust_result_method(&self) -> Result<u16, i32> { Ok(0) }
fn string_method(&self, input : String) -> String { input }
fn complete_method(&mut self, a: u16, b: i16) -> ComResult<bool>
{
Ok(true)
}
}