FLTK logo

Re: [fltk.coredev] Why are fl_file_chooser and fl_dir_chooser returning char* ?

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Why are fl_file_chooser and fl_dir_chooser returning char* ? Ian MacArthur Aug 25, 2020  
 
On 25 Aug 2020, at 20:22, gnuwimp wrote:
> 
> It should be const char*. Or at least mention in the documentation that you should not free the result.


Hmm, curious... I’m not sure I’d choose to free a char* unless the docs explicitly said that it should be... What was the circumstance that raised this issue for you?



-- 
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/494D9E2B-73B5-4548-B2C0-A44A6AF51D6E%40gmail.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.