File: functypes.h

package info (click to toggle)
netsurf 2.9-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 30,680 kB
  • sloc: ansic: 214,165; objc: 8,149; cpp: 6,873; makefile: 1,368; jsp: 1,156; perl: 1,038; asm: 288; sh: 275; python: 8
file content (30 lines) | stat: -rw-r--r-- 543 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * This file is part of LibCSS.
 * Licensed under the MIT License,
 *                http://www.opensource.org/licenses/mit-license.php
 * Copyright 2007-8 John-Mark Bell <jmb@netsurf-browser.org>
 */

#ifndef libcss_functypes_h_
#define libcss_functypes_h_

#ifdef __cplusplus
extern "C"
{
#endif

#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>

#include <libcss/types.h>

/* Type of allocation function for libcss */
typedef void *(*css_allocator_fn)(void *ptr, size_t size, void *pw);

#ifdef __cplusplus
}
#endif

#endif