Changes between Version 2 and Version 3 of Ticket #203


Ignore:
Timestamp:
Jul 28, 2020, 10:50:05 AM (15 months ago)
Author:
ajbeach
Comment:

One of the cases actually did work, removed the old first case.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #203 – Description

    v2 v3  
    5757base_vtable(char) base_vtable_instance @= { 0 };
    5858
    59 #if SHOW_ERROR == 1
    60 // No alternatives:
    61 wrap_e(int) error_obj = { empty_obj };
    62 
    63 #elif SHOW_ERROR == 2
     59#if SHOW_ERROR == 2
    6460// No alternatives:
    6561wrap_e(char) error_obj @= { empty_obj };
     
    106102char some_char = 'c';
    107103
     104wrap_e(int) wrap_obj = { empty_obj };
    108105wrap_c(int) wrap_obj = { count_obj };
    109106wrap_d(int) wrap_obj = { &some_int };
     
    113110
    114111int main(void) {
     112    wrap_e(int) wrap_obj = { empty_obj };
    115113    wrap_c(int) wrap_obj = { count_obj };
    116114    wrap_d(int) wrap_obj = { &some_int };