diff options
Diffstat (limited to 'src/format/symbol.c')
-rw-r--r-- | src/format/symbol.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/format/symbol.c b/src/format/symbol.c index 22403c5..149dd2a 100644 --- a/src/format/symbol.c +++ b/src/format/symbol.c @@ -123,7 +123,7 @@ static void g_binary_symbol_class_init(GBinSymbolClass *klass) static void g_binary_symbol_init(GBinSymbol *symbol) { - g_binary_symbol_set_target_type(symbol, STP_COUNT); + g_binary_symbol_set_stype(symbol, STP_COUNT); g_binary_symbol_set_status(symbol, SSS_INTERNAL); @@ -214,7 +214,7 @@ GBinSymbol *g_binary_symbol_new(const mrange_t *range, SymbolType type) result = g_object_new(G_TYPE_BIN_SYMBOL, NULL); g_binary_symbol_set_range(result, range); - g_binary_symbol_set_target_type(result, type); + g_binary_symbol_set_stype(result, type); return result; @@ -326,9 +326,9 @@ const mrange_t *g_binary_symbol_get_range(const GBinSymbol *symbol) * * ******************************************************************************/ -void g_binary_symbol_set_target_type(GBinSymbol *symbol, SymbolType type) +void g_binary_symbol_set_stype(GBinSymbol *symbol, SymbolType type) { - symbol->type = type; + symbol->stype = type; } @@ -345,9 +345,9 @@ void g_binary_symbol_set_target_type(GBinSymbol *symbol, SymbolType type) * * ******************************************************************************/ -SymbolType g_binary_symbol_get_target_type(const GBinSymbol *symbol) +SymbolType g_binary_symbol_get_stype(const GBinSymbol *symbol) { - return symbol->type; + return symbol->stype; } |