| OLD | NEW |
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 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 | 5 |
| 6 /** @file hello_world.c | 6 /** @file debugging.c |
| 7 * This example, is a modified version of hello world. It will start a second | 7 * This example, is a modified version of hello world. It will start a second |
| 8 * thread and cause that thread to crash via a NULL dereference. | 8 * thread and cause that thread to crash via a NULL dereference. |
| 9 */ | 9 */ |
| 10 #include <stdio.h> | 10 #include <stdio.h> |
| 11 #include <stdlib.h> | 11 #include <stdlib.h> |
| 12 #include <string.h> | 12 #include <string.h> |
| 13 | 13 |
| 14 #include "ppapi/c/pp_errors.h" | 14 #include "ppapi/c/pp_errors.h" |
| 15 #include "ppapi/c/pp_module.h" | 15 #include "ppapi/c/pp_module.h" |
| 16 #include "ppapi/c/pp_var.h" | 16 #include "ppapi/c/pp_var.h" |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 }; | 275 }; |
| 276 return &messaging_interface; | 276 return &messaging_interface; |
| 277 } | 277 } |
| 278 return NULL; | 278 return NULL; |
| 279 } | 279 } |
| 280 | 280 |
| 281 /** | 281 /** |
| 282 * Called before the plugin module is unloaded. | 282 * Called before the plugin module is unloaded. |
| 283 */ | 283 */ |
| 284 PP_EXPORT void PPP_ShutdownModule() {} | 284 PP_EXPORT void PPP_ShutdownModule() {} |
| OLD | NEW |