Index: obj_text.h =================================================================== --- obj_text.h (revision 4932) +++ obj_text.h (revision 4933) @@ -42,11 +42,10 @@ }; -pcb_text_t *GetTextMemory(pcb_layer_t * layer); -void RemoveFreeText(pcb_text_t * data); +pcb_text_t *pcb_text_alloc(pcb_layer_t * layer); +void pcb_text_free(pcb_text_t * data); +pcb_text_t *pcb_text_new(pcb_layer_t *Layer, pcb_font_t *PCBFont, pcb_coord_t X, pcb_coord_t Y, unsigned Direction, int Scale, char *TextString, pcb_flag_t Flags); -pcb_text_t *CreateNewText(pcb_layer_t *Layer, pcb_font_t *PCBFont, pcb_coord_t X, pcb_coord_t Y, unsigned Direction, int Scale, char *TextString, pcb_flag_t Flags); - /* Add objects without creating them or making any "sanity modifications" to them */ void pcb_add_text_on_layer(pcb_layer_t *Layer, pcb_text_t *text, pcb_font_t *PCBFont);