mirror of
https://github.com/golang/go
synced 2024-11-25 23:17:58 -07:00
move Structrnd to runtime.h
R=ken OCL=31125 CL=31125
This commit is contained in:
parent
265674fa57
commit
29aa3ffbf6
@ -88,10 +88,6 @@ static uint32 gcd(uint32, uint32);
|
|||||||
static uint32 fastrand1(void);
|
static uint32 fastrand1(void);
|
||||||
static uint32 fastrand2(void);
|
static uint32 fastrand2(void);
|
||||||
|
|
||||||
enum {
|
|
||||||
Structrnd = sizeof(uintptr)
|
|
||||||
};
|
|
||||||
|
|
||||||
// newchan(elemsize uint32, elemalg uint32, hint uint32) (hchan *chan any);
|
// newchan(elemsize uint32, elemalg uint32, hint uint32) (hchan *chan any);
|
||||||
void
|
void
|
||||||
sys·newchan(uint32 elemsize, uint32 elemalg, uint32 hint,
|
sys·newchan(uint32 elemsize, uint32 elemalg, uint32 hint,
|
||||||
|
@ -665,10 +665,6 @@ donothing(uint32 s, void *a, void *b)
|
|||||||
typedef struct hash Hmap;
|
typedef struct hash Hmap;
|
||||||
static int32 debug = 0;
|
static int32 debug = 0;
|
||||||
|
|
||||||
enum {
|
|
||||||
Structrnd = sizeof(uintptr)
|
|
||||||
};
|
|
||||||
|
|
||||||
// newmap(keysize uint32, valsize uint32,
|
// newmap(keysize uint32, valsize uint32,
|
||||||
// keyalg uint32, valalg uint32,
|
// keyalg uint32, valalg uint32,
|
||||||
// hint uint32) (hmap *map[any]any);
|
// hint uint32) (hmap *map[any]any);
|
||||||
|
@ -258,6 +258,11 @@ enum
|
|||||||
Amax
|
Amax
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
enum {
|
||||||
|
Structrnd = sizeof(uintptr)
|
||||||
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* deferred subroutine calls
|
* deferred subroutine calls
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user