Use G_BEGIN_DECLS/G_END_DECLS
This commit is contained in:
parent
1de139854f
commit
75c5cb6a9c
@ -20,10 +20,7 @@
|
||||
typedef void tagEntryInfo;
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/* Casts a pointer to a pointer to a TMSourceFile structure */
|
||||
#define TM_SOURCE_FILE(source_file) ((TMSourceFile *) source_file)
|
||||
@ -65,8 +62,6 @@ gboolean tm_source_file_parse(TMSourceFile *source_file, guchar* text_buf, gsize
|
||||
|
||||
#endif /* GEANY_PRIVATE */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* TM_SOURCE_FILE_H */
|
||||
|
@ -32,10 +32,7 @@
|
||||
#include "tm_source_file.h"
|
||||
#include <glib-object.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/** Use the TM_TAG() macro to cast a pointer to (TMTag *) */
|
||||
#define TM_TAG(tag) ((TMTag *) tag)
|
||||
@ -213,8 +210,6 @@ gint tm_tag_scope_depth(const TMTag *t);
|
||||
|
||||
#endif /* GEANY_PRIVATE */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* TM_TAG_H */
|
||||
|
@ -15,10 +15,7 @@
|
||||
|
||||
#include "tm_tag.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
||||
/** The Tag Manager Workspace. This is a singleton object containing a list
|
||||
@ -79,8 +76,6 @@ void tm_workspace_dump(void);
|
||||
|
||||
#endif /* GEANY_PRIVATE */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* TM_WORKSPACE_H */
|
||||
|
Loading…
x
Reference in New Issue
Block a user