LEFT | RIGHT |
(no file at all) | |
1 // Copyright 2009 The Go Authors. All rights reserved. | 1 // Copyright 2009 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 /* | 5 /* |
6 * basic types | 6 * basic types |
7 */ | 7 */ |
8 typedef signed char int8; | 8 typedef signed char int8; |
9 typedef unsigned char uint8; | 9 typedef unsigned char uint8; |
10 typedef signed short int16; | 10 typedef signed short int16; |
(...skipping 690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
701 extern G* runtime·lastg; | 701 extern G* runtime·lastg; |
702 extern M* runtime·allm; | 702 extern M* runtime·allm; |
703 extern P** runtime·allp; | 703 extern P** runtime·allp; |
704 extern int32 runtime·gomaxprocs; | 704 extern int32 runtime·gomaxprocs; |
705 extern uint32 runtime·needextram; | 705 extern uint32 runtime·needextram; |
706 extern uint32 runtime·panicking; | 706 extern uint32 runtime·panicking; |
707 extern uint32 runtime·gcwaiting; // gc is waiting to run | 707 extern uint32 runtime·gcwaiting; // gc is waiting to run |
708 extern int8* runtime·goos; | 708 extern int8* runtime·goos; |
709 extern int32 runtime·ncpu; | 709 extern int32 runtime·ncpu; |
710 extern bool runtime·iscgo; | 710 extern bool runtime·iscgo; |
| 711 extern bool runtime·islibrary; |
711 extern void (*runtime·sysargs)(int32, uint8**); | 712 extern void (*runtime·sysargs)(int32, uint8**); |
712 extern uintptr runtime·maxstring; | 713 extern uintptr runtime·maxstring; |
713 extern uint32 runtime·Hchansize; | 714 extern uint32 runtime·Hchansize; |
714 extern uint32 runtime·cpuid_ecx; | 715 extern uint32 runtime·cpuid_ecx; |
715 extern uint32 runtime·cpuid_edx; | 716 extern uint32 runtime·cpuid_edx; |
716 extern DebugVars runtime·debug; | 717 extern DebugVars runtime·debug; |
717 | 718 |
718 /* | 719 /* |
719 * common functions and data | 720 * common functions and data |
720 */ | 721 */ |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1054 extern float64 runtime·neginf; | 1055 extern float64 runtime·neginf; |
1055 extern uint64 ·nan; | 1056 extern uint64 ·nan; |
1056 extern uint64 ·posinf; | 1057 extern uint64 ·posinf; |
1057 extern uint64 ·neginf; | 1058 extern uint64 ·neginf; |
1058 #define ISNAN(f) ((f) != (f)) | 1059 #define ISNAN(f) ((f) != (f)) |
1059 | 1060 |
1060 enum | 1061 enum |
1061 { | 1062 { |
1062 UseSpanType = 1, | 1063 UseSpanType = 1, |
1063 }; | 1064 }; |
LEFT | RIGHT |