File: init.c

package info (click to toggle)
chron 2.3-35-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 224 kB
  • ctags: 8
  • sloc: ansic: 127; makefile: 1
file content (23 lines) | stat: -rw-r--r-- 446 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "Rchron.h"

#include <R_ext/Rdynload.h>

R_NativePrimitiveArgType cnt_flds_t[] =
{STRSXP, INTSXP, STRSXP, INTSXP, INTSXP};

R_CMethodDef cmethods[] = {
    {"cnt_flds_str", (DL_FUNC) &cnt_flds_str, 5, cnt_flds_t},
    {NULL, NULL, 0}
};

R_CallMethodDef callMethods[] = {
    {"unpaste", (DL_FUNC) &unpaste, 4},
    {NULL, NULL, 0}
};

void
R_init_chron(DllInfo *dll)
{
    R_registerRoutines(dll, cmethods, callMethods, NULL, NULL);
}