1
0
mirror of https://github.com/golang/go synced 2024-10-03 04:21:22 -06:00
go/src/pkg/runtime/runtime1.cgo
Russ Cox 12518e441b runtime cleanup.
* move memory code into $GOOS-specific directory.
  * allow printing of static strings < 256 bytes.
    (dynamic strings will bump maxstring as they are allocated.)
  * use cgo2c for runtime.mal.

R=r, dho
CC=golang-dev
https://golang.org/cl/186143
2010-01-13 17:50:02 -08:00

12 lines
251 B
Plaintext

// Copyright 2010 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.
package runtime
#include "runtime.h"
func mal(n uint32) (ret *uint8) {
ret = mal(n);
}