summaryrefslogtreecommitdiff
path: root/src/libtipidee/tipidee_method_tostr.c
blob: 8a3831da1d6277e5a0a2065af781ce268feeced8 (plain)
1
2
3
4
5
6
7
8
/* ISC license. */

#include <tipidee/method.h>

char const *tipidee_method_tostr (tipidee_method m)
{
  return m < TIPIDEE_METHOD_UNKNOWN ? tipidee_method_conv_table[m].str : 0 ;
}