summaryrefslogtreecommitdiff
path: root/libgo/runtime/go-alloc.h
blob: c880a043ea8dee1a51ed44e78030bdf0db1f3916 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* go-alloc.h -- allocate memory for Go.

   Copyright 2009 The Go Authors. All rights reserved.
   Use of this source code is governed by a BSD-style
   license that can be found in the LICENSE file.  */

#include <stddef.h>
#include <stdint.h>

extern void *__go_alloc (unsigned int __attribute__ ((mode (pointer))));
extern void __go_free (void *);