Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • G go
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • go
  • Repository

Switch branch/tag
  • go
  • src
  • cmd
  • cgo
  • main.go
Find file BlameHistoryPermalink
  • Ian Lance Taylor's avatar
    cmd/cgo, runtime: add checks for passing pointers from Go to C · 9dcc58c3
    Ian Lance Taylor authored Oct 16, 2015
    This implements part of the proposal in issue 12416 by adding dynamic
    checks for passing pointers from Go to C.  This code is intended to be
    on at all times.  It does not try to catch every case.  It does not
    implement checks on calling Go functions from C.
    
    The new cgo checks may be disabled using GODEBUG=cgocheck=0.
    
    Update #12416.
    
    Change-Id: I48de130e7e2e83fb99a1e176b2c856be38a4d3c8
    Reviewed-on: https://go-review.googlesource.com/16003
    
    Reviewed-by: default avatarRuss Cox <rsc@golang.org>
    9dcc58c3

Replace main.go

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7