Edit

kc3-lang/libevent/test/regress.rpc

Branch :

  • Show log

    Commit

  • Author : Niels Provos
    Date : 2007-09-22 23:57:11
    Hash : a4cc3d14
    Message : rename the rpc member from kill to attack; that way the structure does not have the same name. might find some bugs. svn:r449

  • test/regress.rpc
  • /* tests data packing and unpacking */
    
    struct msg {
    	string from_name = 1;
    	string to_name = 2;
    	optional struct[kill] attack = 3;
    	array struct[run] run = 4;
    }
    
    struct kill {
    	string weapon = 1;
    	string action = 2;
    }
    
    struct run {
    	string how = 1;
    }