commit | f0b8de96d4a726af6d71c92e985e1fc745618019 | [log] [tgz] |
---|---|---|
author | Todd Wang <toddw@google.com> | Fri Apr 22 05:18:47 2016 -0700 |
committer | Todd Wang <toddw@google.com> | Fri Apr 22 05:18:47 2016 -0700 |
tree | e5c2480f7a6e2e954c8b440fa144284774e3783b | |
parent | a485c0acf3fe8e0ac305445b240f9ca95ef155d7 [diff] |
Add VDLIsZero, and use it in VDLWrite. This CL adds the VDLIsZero method, which is used to check whether the method receiver is the VDL zero value. This is used in codegen to make zero struct field checking both simpler and faster. Also simplified both VDLRead and VDLWrite codegen, to make things more consistent and easier to understand. MultiPart: 3/5 Change-Id: Ic985ecf6860d75bc1943d7b79bb17016527f69c9
This repository contains a reference implementation of the Vanadium APIs.
Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.