atomes 1.1.15
atomes: an atomic scale modeling tool box
Loading...
Searching...
No Matches
save_p.c File Reference

Functions to start saving an atomes project file. More...

#include "global.h"
#include "project.h"
+ Include dependency graph for save_p.c:

Go to the source code of this file.

Functions

int save_this_string (FILE *fp, gchar *string)
 save string to file
 
int save_project (FILE *fp, project *this_proj, int npi)
 save project to file
 

Detailed Description

Functions to start saving an atomes project file.

Author
Sébastien Le Roux sebas.nosp@m.tien.nosp@m..lero.nosp@m.ux@i.nosp@m.pcms..nosp@m.unis.nosp@m.tra.f.nosp@m.r

Definition in file save_p.c.

Function Documentation

◆ save_project()

int save_project ( FILE * fp,
project * this_proj,
int npi )

save project to file

Parameters
fpthe file pointer
this_projthe target project
npithe total number of projects in the workspace

Definition at line 84 of file save_p.c.

◆ save_this_string()

int save_this_string ( FILE * fp,
gchar * string )

save string to file

Parameters
fpthe file pointer
stringthe string to save

Definition at line 49 of file save_p.c.