blob: c880a043ea8dee1a51ed44e78030bdf0db1f3916 [file] [log] [blame]
Peter Collingbourne594c10d2014-11-27 00:12:26 +00001/* go-alloc.h -- allocate memory for Go.
2
3 Copyright 2009 The Go Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style
5 license that can be found in the LICENSE file. */
6
7#include <stddef.h>
8#include <stdint.h>
9
10extern void *__go_alloc (unsigned int __attribute__ ((mode (pointer))));
11extern void __go_free (void *);