本站源代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
497B

  1. // Copyright 2012 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. // +build windows
  5. // +build !go1.3
  6. // copied from pkg/runtime
  7. typedef unsigned int uint32;
  8. typedef unsigned long long int uint64;
  9. #ifdef _64BIT
  10. typedef uint64 uintptr;
  11. #else
  12. typedef uint32 uintptr;
  13. #endif
  14. // from sys_386.s or sys_amd64.s
  15. void ·servicemain(void);
  16. void
  17. ·getServiceMain(uintptr *r)
  18. {
  19. *r = (uintptr)·servicemain;
  20. }
上海开阖软件有限公司 沪ICP备12045867号-1