| Index: courgette/encoded_program.h
|
| diff --git a/courgette/encoded_program.h b/courgette/encoded_program.h
|
| index e89676d64024de33116007b313adb34c367c04bd..6ea3e22c60d3a5393949ae7e17008783d23ab099 100644
|
| --- a/courgette/encoded_program.h
|
| +++ b/courgette/encoded_program.h
|
| @@ -11,6 +11,7 @@
|
| #include <vector>
|
|
|
| #include "base/macros.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| #include "courgette/disassembler.h"
|
| #include "courgette/label_manager.h"
|
| #include "courgette/memory_allocator.h"
|
| @@ -140,5 +141,11 @@
|
| DISALLOW_COPY_AND_ASSIGN(EncodedProgram);
|
| };
|
|
|
| +// Deserializes program from a stream set to |*output|. Returns C_OK if
|
| +// successful, otherwise assigns |*output| to null and returns an error status.
|
| +Status ReadEncodedProgram(SourceStreamSet* source,
|
| + scoped_ptr<EncodedProgram>* output);
|
| +
|
| } // namespace courgette
|
| +
|
| #endif // COURGETTE_ENCODED_PROGRAM_H_
|
|
|