Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NP_TMcode
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Giacomo Mulas
NP_TMcode
Commits
8e7de8d3
Commit
8e7de8d3
authored
1 year ago
by
Giovanni La Mura
Browse files
Options
Downloads
Patches
Plain Diff
Specify function parameter names in header file.
parent
6bace7e3
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/include/file_io.h
+6
-6
6 additions, 6 deletions
src/include/file_io.h
with
6 additions
and
6 deletions
src/include/file_io.h
+
6
−
6
View file @
8e7de8d3
...
@@ -10,34 +10,34 @@
...
@@ -10,34 +10,34 @@
* \param sta: `char*` C-string for file status (max. length of 7).
* \param sta: `char*` C-string for file status (max. length of 7).
* \param mode: `char*` C-string for access mode (max. length of 11).
* \param mode: `char*` C-string for access mode (max. length of 11).
*/
*/
extern
"C"
void
open_file_
(
int
*
,
const
char
*
,
const
char
*
,
const
char
*
);
extern
"C"
void
open_file_
(
int
*
uid
,
const
char
*
name
,
const
char
*
sta
,
const
char
*
mode
);
/*! \brief Close a previously opened file.
/*! \brief Close a previously opened file.
*
*
* \param uid: `int*` Pointer to the unit ID of the file.
* \param uid: `int*` Pointer to the unit ID of the file.
*/
*/
extern
"C"
void
close_file_
(
int
*
);
extern
"C"
void
close_file_
(
int
*
uid
);
/*! \brief Read an integer value from a file.
/*! \brief Read an integer value from a file.
*
*
* \param uid: `int*` Pointer to the unit ID of the file.
* \param uid: `int*` Pointer to the unit ID of the file.
* \param value: `int*` Pointer of the variable to be updated.
* \param value: `int*` Pointer of the variable to be updated.
*/
*/
extern
"C"
void
read_int_
(
int
*
,
int
*
);
extern
"C"
void
read_int_
(
int
*
uid
,
int
*
value
);
/*! \brief Write a complex value to a file.
/*! \brief Write a complex value to a file.
*
*
* \param uid: `int*` Pointer to the unit ID of the file.
* \param uid: `int*` Pointer to the unit ID of the file.
* \param real: `double*` Pointer to the real part of the value.
* \param real: `double*` Pointer to the real part of the value.
* \param imag: `double*` Pointer to the imaginary part of the value.
* \param imag: `double*` Pointer to the imaginary part of the value.
*/
*/
extern
"C"
void
write_complex_
(
int
*
,
double
*
,
double
*
);
extern
"C"
void
write_complex_
(
int
*
uid
,
double
*
real
,
double
*
imag
);
/*! \brief Write a double precision float value to a file.
/*! \brief Write a double precision float value to a file.
*
*
* \param uid: `int*` Pointer to the unit ID of the file.
* \param uid: `int*` Pointer to the unit ID of the file.
* \param value: `double*` Pointer to the variable to be written.
* \param value: `double*` Pointer to the variable to be written.
*/
*/
extern
"C"
void
write_double_
(
int
*
,
double
*
);
extern
"C"
void
write_double_
(
int
*
uid
,
double
*
value
);
/*! \brief Write an integer value to a file.
/*! \brief Write an integer value to a file.
*
*
* \param uid: `int*` Pointer to the unit ID of the file.
* \param uid: `int*` Pointer to the unit ID of the file.
* \param value: `int*` Pointer to the variable to be written.
* \param value: `int*` Pointer to the variable to be written.
*/
*/
extern
"C"
void
write_int_
(
int
*
,
int
*
);
extern
"C"
void
write_int_
(
int
*
uid
,
int
*
value
);
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment