IntPtr returns a pointer to v. It is used as a convenience function for converting an int value into a pointer when passing the value to a function or struct field which expects a pointer.
(v int)
| 53 | // into a pointer when passing the value to a function or struct field |
| 54 | // which expects a pointer. |
| 55 | func IntPtr(v int) *int { return &v } |
| 56 | |
| 57 | // Int64Ptr returns a pointer to v. |
| 58 | // |
no outgoing calls