Merge pull request #1579 from stanley-cheung/fix_php_test_math_proto

PHP test math proto: add default value
pull/1586/head
Michael Lumish 10 years ago
commit 452af9d63b
  1. 16
      src/php/tests/generated_code/math.proto

@ -28,30 +28,30 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
syntax = "proto3";
syntax = "proto2";
package math;
message DivArgs {
optional int64 dividend = 1;
optional int64 divisor = 2;
optional int64 dividend = 1 [default = 0];
optional int64 divisor = 2 [default = 0];
}
message DivReply {
optional int64 quotient = 1;
optional int64 remainder = 2;
optional int64 quotient = 1 [default = 0];
optional int64 remainder = 2 [default = 0];
}
message FibArgs {
optional int64 limit = 1;
optional int64 limit = 1 [default = 0];
}
message Num {
optional int64 num = 1;
optional int64 num = 1 [default = 0];
}
message FibReply {
optional int64 count = 1;
optional int64 count = 1 [default = 0];
}
service Math {

Loading…
Cancel
Save