summaryrefslogtreecommitdiff
path: root/plugins/dexbnf
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-07-04 10:27:41 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-07-04 10:27:41 (GMT)
commita0463dfa8fe232d01ea925668f393d7507fa787b (patch)
treecc2bb210cf377a96567db1cff9ea7952fc66303f /plugins/dexbnf
parent1ade82e135d4e815db5b33c9ebd67632b74e5e1d (diff)
Renamed the function providing next character from input buffers.
Diffstat (limited to 'plugins/dexbnf')
-rw-r--r--plugins/dexbnf/shorty.c6
-rw-r--r--plugins/dexbnf/type.c8
2 files changed, 7 insertions, 7 deletions
diff --git a/plugins/dexbnf/shorty.c b/plugins/dexbnf/shorty.c
index b8bb158..434aa3b 100644
--- a/plugins/dexbnf/shorty.c
+++ b/plugins/dexbnf/shorty.c
@@ -78,9 +78,9 @@ GBinRoutine *dsd_shorty_descriptor(input_buffer *buffer)
/* Arguments */
- for (ahead = text_input_buffer_next_char(buffer);
+ for (ahead = get_input_buffer_next_char(buffer);
ahead != '\0';
- ahead = text_input_buffer_next_char(buffer))
+ ahead = get_input_buffer_next_char(buffer))
{
type = dsd_shorty_field_type(buffer, ahead);
@@ -132,7 +132,7 @@ static GDataType *dsd_shorty_return_type(input_buffer *buffer)
*
*/
- ahead = text_input_buffer_next_char(buffer);
+ ahead = get_input_buffer_next_char(buffer);
if (ahead == 'V')
result = g_basic_type_new(BTP_VOID);
diff --git a/plugins/dexbnf/type.c b/plugins/dexbnf/type.c
index ff9af09..a6ce838 100644
--- a/plugins/dexbnf/type.c
+++ b/plugins/dexbnf/type.c
@@ -93,7 +93,7 @@ static GDataType *dtd_full_class_name(input_buffer *buffer)
{
save_input_buffer_pos(buffer, &saved);
- next = text_input_buffer_next_char(buffer);
+ next = get_input_buffer_next_char(buffer);
if (next != '/')
{
@@ -151,7 +151,7 @@ GDataType *dtd_type_descriptor(input_buffer *buffer)
*
*/
- ahead = text_input_buffer_next_char(buffer);
+ ahead = get_input_buffer_next_char(buffer);
if (ahead == 'V')
result = g_basic_type_new(BTP_VOID);
@@ -197,7 +197,7 @@ static GDataType *dtd_field_type_descriptor(input_buffer *buffer, char ahead)
while (ahead == '[')
{
dim++;
- ahead = text_input_buffer_next_char(buffer);
+ ahead = get_input_buffer_next_char(buffer);
}
descriptor = dtd_non_array_field_type_descriptor(buffer, ahead);
@@ -299,7 +299,7 @@ static GDataType *dtd_non_array_field_type_descriptor(input_buffer *buffer, char
if (result != NULL)
{
- check = text_input_buffer_next_char(buffer);
+ check = get_input_buffer_next_char(buffer);
if (check != ';')
{