Changeset 4764

Show
Ignore:
Timestamp:
05/13/07 19:12:53 (2 years ago)
Author:
morris
Message:

Fail if trying to wi_copy() something that doesn't implement a copier

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • libwired/trunk/libwired/base/wi-runtime.c

    r4699 r4764  
    299299                return class->copy(instance); 
    300300         
     301        WI_ASSERT(0, "%@ does not implement wi_copy()", instance); 
     302 
    301303        return NULL; 
    302304}