github.com/hbdrawn/golang@v0.0.0-20141214014649-6b835209aba2/src/runtime/cgocall.h (about)

     1  // Copyright 2009 The Go Authors.  All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  /*
     6   * Cgo interface.
     7   */
     8  
     9  void runtime·cgocall(void (*fn)(void*), void*);
    10  int32 runtime·cgocall_errno(void (*fn)(void*), void*);
    11  void runtime·cgocallback(void (*fn)(void), void*, uintptr);
    12  void *runtime·cmalloc(uintptr);
    13  void runtime·cfree(void*);