… | … | ||
---|---|---|---|
4 | #ifdef __cplusplus | 4 | #ifdef __cplusplus |
5 | 5 | ||
6 | // C++ API | 6 | // C++ API |
7 | 7 | ||
8 | #include <stdlib.h> | 8 | #include <stdlib.h> |
9 | #include <string.h> | ||
9 | #include <exception> | 10 | #include <exception> |
10 | #include <string.h> | ||
11 | 11 | ||
12 | class ptytty_error : public std::exception | 12 | class ptytty_error : public std::exception |
13 | { | 13 | { |
14 | private: | 14 | private: |
15 | char *msg; | 15 | char *msg; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |