| Index: native_client_sdk/src/libraries/nacl_io/pepper_interface.h
|
| diff --git a/native_client_sdk/src/libraries/nacl_io/pepper_interface.h b/native_client_sdk/src/libraries/nacl_io/pepper_interface.h
|
| index edeb0367b058cb7d81a29ed7d4a2f04635e2a53e..a78e6003ef6fba98c26fbb195ff875ce7b3e8151 100644
|
| --- a/native_client_sdk/src/libraries/nacl_io/pepper_interface.h
|
| +++ b/native_client_sdk/src/libraries/nacl_io/pepper_interface.h
|
| @@ -33,12 +33,12 @@
|
|
|
|
|
| // Forward declare interface classes.
|
| +#include "nacl_io/pepper/undef_macros.h"
|
| #include "nacl_io/pepper/define_empty_macros.h"
|
| #undef BEGIN_INTERFACE
|
| #define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString) \
|
| class BaseClass;
|
| #include "nacl_io/pepper/all_interfaces.h"
|
| -#include "nacl_io/pepper/undef_macros.h"
|
|
|
| int PPErrorToErrno(int32_t err);
|
|
|
| @@ -50,15 +50,16 @@ class PepperInterface {
|
| virtual void ReleaseResource(PP_Resource) = 0;
|
|
|
| // Interface getters.
|
| +#include "nacl_io/pepper/undef_macros.h"
|
| #include "nacl_io/pepper/define_empty_macros.h"
|
| #undef BEGIN_INTERFACE
|
| #define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString) \
|
| virtual BaseClass* Get##BaseClass() = 0;
|
| #include "nacl_io/pepper/all_interfaces.h"
|
| -#include "nacl_io/pepper/undef_macros.h"
|
| };
|
|
|
| // Interface class definitions.
|
| +#include "nacl_io/pepper/undef_macros.h"
|
| #define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString) \
|
| class BaseClass { \
|
| public: \
|
| @@ -77,7 +78,6 @@ class PepperInterface {
|
| Type4) \
|
| virtual ReturnType MethodName(Type0, Type1, Type2, Type3, Type4) = 0;
|
| #include "nacl_io/pepper/all_interfaces.h"
|
| -#include "nacl_io/pepper/undef_macros.h"
|
|
|
|
|
| class ScopedResource {
|
|
|