OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 #ifndef STRUCT_H_ | 5 #ifndef STRUCT_H_ |
6 #define STRUCT_H_ | 6 #define STRUCT_H_ |
7 | 7 |
8 #include "include/service_api.h" | 8 #include "include/service_api.h" |
9 | 9 |
10 #include <inttypes.h> | 10 #include <inttypes.h> |
11 #include <stdlib.h> | 11 #include <stdlib.h> |
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 void NewString(int offset, const char* value); | 287 void NewString(int offset, const char* value); |
288 | 288 |
289 private: | 289 private: |
290 BuilderSegment* const segment_; | 290 BuilderSegment* const segment_; |
291 const int offset_; | 291 const int offset_; |
292 | 292 |
293 friend class MessageBuilder; | 293 friend class MessageBuilder; |
294 }; | 294 }; |
295 | 295 |
296 #endif // STRUCT_H_ | 296 #endif // STRUCT_H_ |
OLD | NEW |