diff options
author | Ben Gamari <ben@smart-cactus.org> | 2015-11-01 12:33:08 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2015-11-01 15:24:07 +0100 |
commit | 52c6e3d608ee3d010337d4405df86c2620d24887 (patch) | |
tree | 4a8b3d4a37ca091a797470bc9d0cbcfa67c88a46 /rts/Libdw.h | |
parent | b8df858301317fcdcbe4285cea748f7f1d4438c4 (diff) | |
download | haskell-52c6e3d608ee3d010337d4405df86c2620d24887.tar.gz |
Libdw: Fix symbol naming
RTS convention is to use camel-case.
Diffstat (limited to 'rts/Libdw.h')
-rw-r--r-- | rts/Libdw.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/rts/Libdw.h b/rts/Libdw.h index 8c5f1cadb8..76abebcdb3 100644 --- a/rts/Libdw.h +++ b/rts/Libdw.h @@ -18,24 +18,24 @@ #ifdef USE_LIBDW -struct LibDwSession_; -typedef struct LibDwSession_ LibDwSession; +struct LibdwSession_; +typedef struct LibdwSession_ LibdwSession; /* Begin a libdw session. A session is tied to a particular capability */ -LibDwSession *libdw_init(void); +LibdwSession *libdwInit(void); /* Free a session */ -void libdw_free(LibDwSession *session); +void libdwFree(LibdwSession *session); /* Request a backtrace of the current stack state */ -Backtrace *libdw_get_backtrace(LibDwSession *session); +Backtrace *libdwGetBacktrace(LibdwSession *session); /* Lookup Location information for the given address. * Returns 0 if successful, 1 if address could not be found. */ -int libdw_lookup_location(LibDwSession *session, Location *loc, StgPtr pc); +int libdwLookupLocation(LibdwSession *session, Location *loc, StgPtr pc); /* Pretty-print a backtrace to std*/ -void libdw_print_backtrace(LibDwSession *session, FILE *file, Backtrace *bt); +void libdwPrintBacktrace(LibdwSession *session, FILE *file, Backtrace *bt); // Traverse backtrace in order of outer-most to inner-most frame #define FOREACH_FRAME_INWARDS(pc, bt) \ @@ -47,9 +47,9 @@ void libdw_print_backtrace(LibDwSession *session, FILE *file, Backtrace *bt); _frame_idx++) // Traverse a backtrace in order of inner-most to outer-most frame -int foreach_frame_outwards(Backtrace *bt, - int (*cb)(StgPtr, void*), - void *user_data); +int libdwForEachFrameOutwards(Backtrace *bt, + int (*cb)(StgPtr, void*), + void *user_data); #endif /* USE_LIBDW */ |