| 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 INCLUDE_FLETCH_API_H_ | 5 #ifndef INCLUDE_FLETCH_API_H_ |
| 6 #define INCLUDE_FLETCH_API_H_ | 6 #define INCLUDE_FLETCH_API_H_ |
| 7 | 7 |
| 8 #include <stdbool.h> | 8 #include <stdbool.h> |
| 9 | 9 |
| 10 #ifdef _MSC_VER | 10 #ifdef _MSC_VER |
| 11 // TODO(herhut): Do we need a __declspec here for Windows? | 11 // TODO(herhut): Do we need a __declspec here for Windows? |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 PrintInterceptionFunction function, | 97 PrintInterceptionFunction function, |
| 98 void* data); | 98 void* data); |
| 99 | 99 |
| 100 // Unregister a print interceptor. This must be called with an interceptor | 100 // Unregister a print interceptor. This must be called with an interceptor |
| 101 // instance that was created using the registration function. The interceptor | 101 // instance that was created using the registration function. The interceptor |
| 102 // instance is reclaimed and no longer valid after having called this function. | 102 // instance is reclaimed and no longer valid after having called this function. |
| 103 FLETCH_EXPORT void FletchUnregisterPrintInterceptor( | 103 FLETCH_EXPORT void FletchUnregisterPrintInterceptor( |
| 104 FletchPrintInterceptor interceptor); | 104 FletchPrintInterceptor interceptor); |
| 105 | 105 |
| 106 #endif // INCLUDE_FLETCH_API_H_ | 106 #endif // INCLUDE_FLETCH_API_H_ |
| OLD | NEW |