Re: Cloning structs

From: George Greer (
Date: 03/27/99

On Sat, 27 Mar 1999, Patrick Dughi wrote:

>        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...

a) Unions or
b) Look at GTK+ ( and how they do GtkWidget.

George Greer            | Mailing list archives   |

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

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