go-alloc.h 352 B

123456789101112
  1. /* go-alloc.h -- allocate memory for Go.
  2. Copyright 2009 The Go Authors. All rights reserved.
  3. Use of this source code is governed by a BSD-style
  4. license that can be found in the LICENSE file. */
  5. #include <stddef.h>
  6. #include <stdint.h>
  7. extern void *__go_alloc (unsigned int __attribute__ ((mode (pointer))));
  8. extern void __go_free (void *);