Re: Cloning structs

From: Richard Glover (
Date: 03/27/99


These can copy or move parts of the memory to another, which structs with
values are easily copyable (copiable?).


NOTE: Thanks for the long message warning.  I only read the first paragraph
and am responding to that.

-----Original Message-----
From: Patrick Dughi <>
To: <>
Date: Saturday, March 27, 1999 2:36 PM
Subject:   Cloning structs

>(Note: Rather long, and ends with a request for technical info - may not
>be terribly interesting.)
>        In truth, this is more about programming in general than directly
>applying to circle, but it's something that I thought about a great deal,
>and would be terribly helpful for building, as well as a myraid of other
>neat things..
>        Basically, I want to clone a struct.  Say I want to make an exact
>copy of something to edit.  Currently one would have to make a seperate
>function for each structure type; they'd alloc the space, and copy
>relevant variables, creating each new string/struct within as they go,
>eventually making it all...

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  |

This archive was generated by hypermail 2b30 : 12/15/00 PST