| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING this file was generated by generate_nacl_bindings.py | 5 // WARNING this file was generated by generate_nacl_bindings.py |
| 6 // Do not edit by hand. | 6 // Do not edit by hand. |
| 7 | 7 |
| 8 #include <stdio.h> | 8 #include <stdio.h> |
| 9 #include <string.h> | 9 #include <string.h> |
| 10 | 10 |
| (...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 size_t tablesize) { | 348 size_t tablesize) { |
| 349 static const size_t size = sizeof(kIrtMojo); | 349 static const size_t size = sizeof(kIrtMojo); |
| 350 if (0 == strcmp(interface_ident, NACL_IRT_MOJO_v0_1)) { | 350 if (0 == strcmp(interface_ident, NACL_IRT_MOJO_v0_1)) { |
| 351 if (size <= tablesize) { | 351 if (size <= tablesize) { |
| 352 memcpy(table, &kIrtMojo, size); | 352 memcpy(table, &kIrtMojo, size); |
| 353 return size; | 353 return size; |
| 354 } | 354 } |
| 355 } | 355 } |
| 356 return 0; | 356 return 0; |
| 357 } | 357 } |
| OLD | NEW |