mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-06 16:05:42 +00:00
setting for preferring displaying pointer addresses before contents
This commit is contained in:
@@ -404,6 +404,15 @@ few_params1(Pair *pairs, int count, Function_No_Params_Type *no_params_type){
|
||||
|
||||
}
|
||||
|
||||
//
|
||||
// NOTE(rjf): this doesn't work because MSVC - despite GENERATING DEBUG INFO
|
||||
// FOR THE MyByte TYPEDEF - does not actually *reference* this typedef
|
||||
// anywhere, and instead treats all `MyByte *`s as `char *`s, thus completely
|
||||
// eliminating the point of the typedef and view. :(
|
||||
//
|
||||
typedef char MyByte;
|
||||
raddbg_type_view(MyByte *, no_string($));
|
||||
|
||||
static void
|
||||
type_coverage_eval_tests(void)
|
||||
{
|
||||
@@ -440,6 +449,8 @@ type_coverage_eval_tests(void)
|
||||
const char const_string_array[] = "Hello, World!";
|
||||
const char *const const_ptr_const_string = "Hello, World!";
|
||||
|
||||
MyByte *non_string_byte_ptr = "Hello, World!";
|
||||
|
||||
void *pointer = &basics;
|
||||
Basics *pointer_to_basics = &basics;
|
||||
Basics **pointer_to_pointer_to_basics = &pointer_to_basics;
|
||||
|
||||
Reference in New Issue
Block a user