Instead declaring a function pointer, you could simply check here.

```c
if (rndr->ext_flags & MKDEXT_UNDERLINE && c == '_')
    rndr->cb.underline(ob, work, rndr->opaque);
else
    rndr->cb.emphasis(ob, work, rndr->opaque);
````