Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenloader/BLO_writefile.h')
-rw-r--r--source/blender/blenloader/BLO_writefile.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/source/blender/blenloader/BLO_writefile.h b/source/blender/blenloader/BLO_writefile.h
index db29ea5e5c0..18c410bc416 100644
--- a/source/blender/blenloader/BLO_writefile.h
+++ b/source/blender/blenloader/BLO_writefile.h
@@ -40,26 +40,26 @@ extern bool BLO_write_file_mem(struct Main *mainvar,
struct MemFile *current,
int write_flags);
-typedef struct BloWriteData BloWriteData;
+typedef struct BloWriter BloWriter;
-void BLO_write_data(BloWriteData *wd, const void *data_ptr, int length);
-void BLO_write_struct_by_name(BloWriteData *wd, const char *struct_name, const void *data_ptr);
-void BLO_write_struct_array_by_name(BloWriteData *wd,
+void BLO_write_data(BloWriter *writer, const void *data_ptr, int length);
+void BLO_write_struct_by_name(BloWriter *writer, const char *struct_name, const void *data_ptr);
+void BLO_write_struct_array_by_name(BloWriter *writer,
const char *struct_name,
const void *data_ptr,
int array_size);
-void BLO_write_struct_by_id(BloWriteData *wd, int struct_id, const void *data_ptr);
-void BLO_write_struct_array_by_id(BloWriteData *wd,
+void BLO_write_struct_by_id(BloWriter *writer, int struct_id, const void *data_ptr);
+void BLO_write_struct_array_by_id(BloWriter *writer,
int struct_id,
const void *data_ptr,
int array_size);
-int BLO_get_struct_id_by_name(BloWriteData *wd, const char *struct_name);
-#define BLO_get_struct_id(wd, struct_name) BLO_get_struct_id_by_name(wd, ##struct_name)
+int BLO_get_struct_id_by_name(BloWriter *writer, const char *struct_name);
+#define BLO_get_struct_id(writer, struct_name) BLO_get_struct_id_by_name(writer, ##struct_name)
-#define BLO_write_struct(wd, struct_name, data_ptr) \
- BLO_write_struct_by_id(wd, BLO_get_struct_id(struct_name), data_ptr)
-#define BLO_write_struct_array(wd, struct_name, data_ptr, array_size) \
- BLO_write_struct_array_by_id(wd, BLO_get_struct_id(struct_name), data_ptr, array_size)
+#define BLO_write_struct(writer, struct_name, data_ptr) \
+ BLO_write_struct_by_id(writer, BLO_get_struct_id(struct_name), data_ptr)
+#define BLO_write_struct_array(writer, struct_name, data_ptr, array_size) \
+ BLO_write_struct_array_by_id(writer, BLO_get_struct_id(struct_name), data_ptr, array_size)
#endif