• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythongamewindowsbathyscaphephpguic翻訳omegattwitterframeworktestbtronarduinovb.net計画中(planning stage)directxpreviewerゲームエンジンdom

超漢字アプリケーション開発用のProtocol Buffersコンパイラの開発


Commit MetaInfo

Revisãof98e832437d4a9c2955cb126f1b3584f93c485a1 (tree)
Hora2015-02-06 01:41:46
Autorornse01 <ornse01@user...>
Commiterornse01

Mensagem de Log

add massage method.

Mudança Sumário

Diff

--- a/src/protobuf/template.h.erb
+++ b/src/protobuf/template.h.erb
@@ -8,6 +8,12 @@ typedef struct <%= m.name %>_ <%= m.name %>;
88 <%- end -%>
99
1010 <%- msg_list.each do |m| -%>
11+/* <%= m.name %> */
12+IMPORT <%= m.name %>* <%= m.name %>_new();
13+IMPORT VOID <%= m.name %>_delete(<%= m.name %> *m);
14+IMPORT Bool <%= m.name %>_isequal(<%= m.name %> *m, <%= m.name %> *other);
15+IMPORT VOID <%= m.name %>_swap(<%= m.name %> *m, <%= m.name %> *other);
16+
1117 <%- m.each_field do |f| -%>
1218 /* <%= m.name %>.<%= f.name %> */
1319 <%- if f.is_singular_numeric? -%>