File: moment_fmt.h

package info (click to toggle)
libtime-moment-perl 0.41-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,024 kB
  • ctags: 1,354
  • sloc: perl: 6,312; ansic: 2,936; makefile: 3
file content (15 lines) | stat: -rw-r--r-- 398 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __MOMENT_FMT_H__
#define __MOMENT_FMT_H__
#include "moment.h"

SV * THX_moment_strftime(pTHX_ const moment_t *mt, const char *str, STRLEN len);
SV * THX_moment_to_string(pTHX_ const moment_t *mt, bool reduced);

#define moment_strftime(mt, str, len) \
    THX_moment_strftime(aTHX_ mt, str, len)

#define moment_to_string(mt, reduced) \
    THX_moment_to_string(aTHX_ mt, reduced)

#endif