… | |
… | |
429 | return strdup ("[NULLOBJ]"); |
429 | return strdup ("[NULLOBJ]"); |
430 | |
430 | |
431 | object_freezer freezer; |
431 | object_freezer freezer; |
432 | op->write (freezer); |
432 | op->write (freezer); |
433 | return freezer.as_string (); |
433 | return freezer.as_string (); |
|
|
434 | } |
|
|
435 | |
|
|
436 | char * |
|
|
437 | object::as_string () |
|
|
438 | { |
|
|
439 | return dump_object (this); |
434 | } |
440 | } |
435 | |
441 | |
436 | /* |
442 | /* |
437 | * get_nearest_part(multi-object, object 2) returns the part of the |
443 | * get_nearest_part(multi-object, object 2) returns the part of the |
438 | * multi-object 1 which is closest to the second object. |
444 | * multi-object 1 which is closest to the second object. |