/// Push an integer on the stack void xpath_stack::v_push_int (int i_elem, const char * cp_comment) { expression_result er_res (XNp_root); er_res . v_set_int (i_elem); if (cp_comment) er_res . v_set_comment (cp_comment); v_push (er_res); }
void t_interval (int len, f_ptr callback, void *arg, int flags) { if (times == NULL) times = v_dinit (sizeof(struct Timer)); unsigned end; if (len) end = SDL_GetTicks () + len; else end = (unsigned) -1; struct Timer t = {end, callback, arg, flags}; v_push (times, &t); }
/// Push a string on the stack void xpath_stack::v_push_string (TIXML_STRING S_in) { expression_result er_res (XNp_root); er_res . v_set_string (S_in); v_push (er_res); }
/// Push a bool on the stack void xpath_stack::v_push_bool (bool o_in) { expression_result er_res (XNp_root); er_res . v_set_bool (o_in); v_push (er_res); }
/// Push a node_set on the stack void xpath_stack::v_push_node_set (node_set * nsp_ptr) { expression_result er_res (XNp_root); er_res . v_set_node_set (nsp_ptr); v_push (er_res); }
/// Push a double on the stack void xpath_stack::v_push_double (double d_elem) { expression_result er_res (XNp_root); er_res . v_set_double (d_elem); v_push (er_res); }