fn gen_owned_data_create<W: Write>(
        &mut self,
        dest: &mut W,
        struct_name: &str,
    ) -> io::Result<()> {
        writeln!(
            dest,
            "    struct RU{} (*create_{})(
        struct RUBase* priv_data,
        RUDeleteCallback delete_callback, void* host_data);",
            struct_name,
            struct_name.to_snake_case()
        )
    }
///
/// Generate create function for owned data function
///
Generate create function for owned data function
Generate create function for owned data function
fn gen_owned_data_create<W: Write>(
        &mut self,
        dest: &mut W,
        struct_name: &str,
    ) -> io::Result<()> {
        writeln!(
            dest,
            "    struct RU{} (*create_{})(
        struct RUBase* priv_data,
        RUDeleteCallback delete_callback, void* host_data);",
            struct_name,
            struct_name.to_snake_case()
        )
    }
fn gen_owned_data_create < W : Write > ( & mut self , dest : & mut W , struct_name : & str , ) -> io :: Result < ( ) > { writeln ! ( dest " " struct_name struct_name to_snake_case ( ) ) }
Generate create function for owned data function
Generate create function for owned data function
&mut self
dest
&mut W
struct_name
&str
&mut self
dest
&mut W
struct_name
&str