1234567891011121314151617181920212223242526 |
- #ifdef DEBUG
- /*
- * ptype_dump.c
- */
- #include "private.h"
- #include "lub/dump.h"
- /*--------------------------------------------------------- */
- void clish_ptype_dump(clish_ptype_t * this)
- {
- lub_dump_printf("ptype(%p)\n", this);
- lub_dump_indent();
- lub_dump_printf("name : %s\n", clish_ptype__get_name(this));
- lub_dump_printf("text : %s\n", LUB_DUMP_STR(clish_ptype__get_text(this)));
- lub_dump_printf("pattern : %s\n", LUB_DUMP_STR(this->pattern));
- lub_dump_printf("method : %s\n",
- clish_ptype__get_method_name(this->method));
- lub_dump_printf("postprocess: %s\n",
- clish_ptype_preprocess__get_name(this->preprocess));
- lub_dump_undent();
- }
- /*--------------------------------------------------------- */
- #endif /* DEBUG */
|