api: When calling get/set_lines from vimL, don't convert between "\n" and "\0".

This commit is contained in:
Björn Linse
2016-06-18 13:45:39 +02:00
parent a2d25b7bf8
commit 87e054bb24
3 changed files with 18 additions and 11 deletions

View File

@@ -33,6 +33,9 @@ typedef enum {
/// Used as the message ID of notifications.
#define NO_RESPONSE UINT64_MAX
/// Used as channel_id when the call is local
#define INVALID_CHANNEL UINT64_MAX
typedef struct {
ErrorType type;
char msg[1024];