Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct {
- next: ?*Data = null,
- pub fn setNext(self: *const Self, next_: ?*Data) void {
- if (next_ != null) {
- self.next = next_;
- } else {
- self.next = null;
- }
- }
- ..elsewhere
- opMsgPrev.?.setNext(null);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement