diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2024-11-24 10:23:10 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2024-11-24 10:23:10 (GMT) |
commit | f58a0e41b2c7266f5e6b521485a9d62246efbb6d (patch) | |
tree | c19e18b83f08930b0262387c02150c79dbda320d /src/format/program.c | |
parent | d7aa3b671b83640006e00e853a439937c0c34dc0 (diff) |
Rename the function used to find section range by name.
Diffstat (limited to 'src/format/program.c')
-rw-r--r-- | src/format/program.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/format/program.c b/src/format/program.c index d44f988..9b9df81 100644 --- a/src/format/program.c +++ b/src/format/program.c @@ -480,18 +480,18 @@ SourceEndian g_program_format_get_endianness(const GProgramFormat *format) * * ******************************************************************************/ -bool g_program_format_get_section_range_by_name(const GProgramFormat *format, const char *name, mrange_t *range) +bool g_program_format_find_section_range_by_name(const GProgramFormat *format, const char *name, mrange_t *range) { bool result; /* Bilan à retourner */ GProgramFormatClass *class; /* Classe de l'instance */ class = G_PROGRAM_FORMAT_GET_CLASS(format); - if (class->get_range_by_name == NULL) + if (class->find_range_by_name == NULL) result = false; else - result = class->get_range_by_name(format, name, range); + result = class->find_range_by_name(format, name, range); return result; |