Esempio n. 1
0
 void operator() ( boost::any& object )
 {
   Type* type_ptr( boost::any_cast< Type >( &object ));
   if( type_ptr )
     *_iterator ++ = *type_ptr;
 }
Esempio n. 2
0
            {
                .name = lex_sym("ptr"),
                .type = type(VPTR, 1),
            }
        )
    },

    {
        .name = lex_sym("ps"),
        .rettype = NULL,
        .param_count = 1,
        .params = PARAMS
        (
            {
                .name = lex_sym("str"),
                .type = type_ptr(1, type(U8, 1)),
            }
        )
    },

    {
        .name = lex_sym("pu8"),
        .rettype = NULL,
        .param_count = 1,
        .params = PARAMS
        (
            {
                .name = lex_sym("num"),
                .type = type(U8, 1),
            }
        )