mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
build: remove extern "C" linkage
No more C source files, no more necessity to use C-linkage. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
03b910ee7f
commit
b56dd13add
104 changed files with 364 additions and 577 deletions
|
@ -12,8 +12,6 @@ struct xml_params {
|
|||
mutable std::vector<const char *> data;
|
||||
};
|
||||
|
||||
extern "C" {
|
||||
|
||||
// Return values marked as "not stable" may be invalidated when calling
|
||||
// an xml_params_*() function that takes a non-const xml_params parameter.
|
||||
extern struct xml_params *alloc_xml_params();
|
||||
|
@ -27,6 +25,4 @@ extern const char *xml_params_get_value(const struct xml_params *params, int idx
|
|||
extern void xml_params_set_value(struct xml_params *params, int idx, const char *value);
|
||||
extern const char **xml_params_get(const struct xml_params *params); // not stable
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue