File: libbf-hs.c

package info (click to toggle)
haskell-libbf 0.6.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 416 kB
  • sloc: ansic: 8,232; haskell: 337; makefile: 6
file content (16 lines) | stat: -rw-r--r-- 278 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdlib.h>
#include "libbf.h"

static
void *libBF_hs_realloc(void *clo, void *ptr, size_t size) {
  return realloc(ptr,size);
}

void bf_context_init_hs(bf_context_t *s) {
  bf_context_init(s, libBF_hs_realloc, NULL);
}

void bf_delete_hs(bf_t *s) {
  bf_delete(s);
}