Kaydet (Commit) 6ca0d4c4 authored tarafından Enrico Tröger's avatar Enrico Tröger

Remove underscore prefix from some struct names.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2626 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst d8897914
2008-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/project.h, src/plugindata.h, src/geany.h, src/filetypes.h,
src/document.h:
Remove underscore prefix from some struct names.
2008-05-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/utils.c, src/win32.c, src/keybindings.c,
......
......@@ -71,7 +71,7 @@ typedef struct FileEncoding
/**
* Structure for representing an open tab with all its properties.
**/
typedef struct _GeanyDocument
typedef struct GeanyDocument
{
/** General flag to represent this document is active and all properties are set correctly. */
gboolean is_valid;
......
......@@ -102,7 +102,7 @@ struct build_programs
gboolean modified;
};
struct _GeanyFiletype
struct GeanyFiletype
{
filetype_id id;
langType lang; /* represents the langType of tagmanager(see the table */
......
......@@ -55,8 +55,8 @@
/* useful forward declarations */
typedef struct _GeanyFiletype GeanyFiletype;
typedef struct _GeanyProject GeanyProject;
typedef struct GeanyFiletype GeanyFiletype;
typedef struct GeanyProject GeanyProject;
/* Important commonly-used items. */
......
......@@ -201,21 +201,21 @@ GeanyFunctions;
/* See document.h */
typedef struct DocumentFuncs
{
gint (*new_file) (const gchar *filename, struct _GeanyFiletype *ft, const gchar *text);
gint (*new_file) (const gchar *filename, struct GeanyFiletype *ft, const gchar *text);
gint (*get_cur_idx) (void);
gint (*get_n_idx) (guint i);
gint (*find_by_filename) (const gchar *filename, gboolean is_tm_filename);
struct _GeanyDocument* (*get_current) (void);
struct GeanyDocument* (*get_current) (void);
gboolean (*save_file) (gint idx, gboolean force);
gint (*open_file) (const gchar *locale_filename, gboolean readonly,
struct _GeanyFiletype *ft, const gchar *forced_enc);
void (*open_files) (const GSList *filenames, gboolean readonly, struct _GeanyFiletype *ft,
struct GeanyFiletype *ft, const gchar *forced_enc);
void (*open_files) (const GSList *filenames, gboolean readonly, struct GeanyFiletype *ft,
const gchar *forced_enc);
gboolean (*remove) (guint page_num);
gboolean (*reload_file) (gint idx, const gchar *forced_enc);
void (*set_encoding) (gint idx, const gchar *new_encoding);
void (*set_text_changed) (gint idx);
void (*set_filetype) (gint idx, struct _GeanyFiletype *type);
void (*set_filetype) (gint idx, struct GeanyFiletype *type);
}
DocumentFuncs;
......@@ -444,8 +444,8 @@ typedef GeanyData PluginData; /* for compatibility with API < 7 */
#define GEANY_FILETYPES_ALL \
GEANY_FILETYPES_NONE
typedef struct _GeanyDocument document;
typedef struct _GeanyFiletype filetype;
typedef struct GeanyDocument document;
typedef struct GeanyFiletype filetype;
typedef PluginCallback GeanyCallback;
#define geany_callbacks plugin_callbacks
......
......@@ -29,7 +29,7 @@
/* structure for representing a project. */
struct _GeanyProject
struct GeanyProject
{
gchar *name; /* the name of the project */
gchar *description; /* short description of the project */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment