SourceFileSaver


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "3.14" ) ]
public SourceFileSaver (SourceBuffer buffer, SourceFile file)

Creates a new SourceFileSaver object.

The buffer will be saved to the SourceFile's location.

This constructor is suitable for a simple "save" operation, when the file already contains a non-%NULL location.

Parameters:

buffer

the SourceBuffer to save.

file

the SourceFile.

Returns:

a new SourceFileSaver object.