File: 01_new.c

package info (click to toggle)
libunicode-japanese-perl 0.50-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,376 kB
  • sloc: ansic: 30,821; perl: 5,635; erlang: 224; makefile: 191
file content (14 lines) | stat: -rw-r--r-- 245 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

#include "unijp.h"
#include <stdio.h>

int main(int argc, const char* argv[])
{
  unijp_t* uj;
  printf("1..2\n");
  uj = uj_new((uj_uint8*)"", 0, ujc_utf8);
  printf("ok 1 - new\n");
  uj_delete(uj);
  printf("ok 2 - delete\n");
  return 0;
}