Skip to content

Instantly share code, notes, and snippets.

@myitcv
Created September 27, 2014 12:39
Show Gist options
  • Save myitcv/4f728f00399d11b904a1 to your computer and use it in GitHub Desktop.
Save myitcv/4f728f00399d11b904a1 to your computer and use it in GitHub Desktop.
Diff with current API
--- api_post.yml 2014-09-27 13:15:28.347858513 +0100
+++ api_pre.yml 2014-09-26 08:20:08.019112382 +0100
@@ -46,13 +46,13 @@
parameters:
- [Buffer, buffer]
- [Integer, index]
- return_type: Binary
+ return_type: String
- name: buffer_set_line
can_fail: true
parameters:
- [Buffer, buffer]
- [Integer, index]
- - [Binary, line]
+ - [String, line]
return_type: void
- name: buffer_del_line
can_fail: true
@@ -68,7 +68,7 @@
- [Integer, end]
- [Boolean, include_start]
- [Boolean, include_end]
- return_type: ArrayOf(Binary)
+ return_type: ArrayOf(String)
- name: buffer_set_slice
can_fail: true
parameters:
@@ -77,7 +77,7 @@
- [Integer, end]
- [Boolean, include_start]
- [Boolean, include_end]
- - [ArrayOf(Binary), replacement]
+ - [ArrayOf(String), replacement]
return_type: void
- name: buffer_get_var
can_fail: true
@@ -130,7 +130,7 @@
parameters:
- [Buffer, buffer]
- [Integer, lnum]
- - [ArrayOf(Binary), lines]
+ - [ArrayOf(String), lines]
return_type: void
- name: buffer_get_mark
can_fail: true
@@ -180,11 +180,11 @@
- name: vim_get_current_line
can_fail: true
parameters: []
- return_type: Binary
+ return_type: String
- name: vim_set_current_line
can_fail: true
parameters:
- - [Binary, line]
+ - [String, line]
return_type: void
- name: vim_del_current_line
can_fail: true
@@ -219,7 +219,7 @@
return_type: void
- name: vim_out_write
parameters:
- - [Binary, str]
+ - [String, str]
return_type: void
- name: vim_err_write
parameters:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment