projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lcd_gfx_qt: Implement bitmap scaling
[bertos.git]
/
bertos
/
kern
/
kfile.h
diff --git
a/bertos/kern/kfile.h
b/bertos/kern/kfile.h
index 609c8d635030edc777a12160ff9e364c66fe6f09..4f1d8fc85f9b70ce367fea015b5786aee72be246 100644
(file)
--- a/
bertos/kern/kfile.h
+++ b/
bertos/kern/kfile.h
@@
-178,7
+178,9
@@
typedef void (*ClearErrFunc_t) (struct KFile *fd);
/**
* Context data for callback functions which operate on
* pseudo files.
/**
* Context data for callback functions which operate on
* pseudo files.
- * \note If you change interface, remember to add corresponding access function.
+ *
+ * \note Remember to add the corresponding accessor functions
+ * when extending this interface.
*/
typedef struct KFile
{
*/
typedef struct KFile
{
@@
-190,11
+192,11
@@
typedef struct KFile
FlushFunc_t flush;
ErrorFunc_t error;
ClearErrFunc_t clearerr;
FlushFunc_t flush;
ErrorFunc_t error;
ClearErrFunc_t clearerr;
- DB(id_t _type); ///< Used to keep trac
e, at runtime, of obj
type.
+ DB(id_t _type); ///< Used to keep trac
k, at runtime, of the class
type.
/* NOTE: these must _NOT_ be size_t on 16bit CPUs! */
kfile_off_t seek_pos;
/* NOTE: these must _NOT_ be size_t on 16bit CPUs! */
kfile_off_t seek_pos;
- kfile_size_t size;
+ kfile_size_t size;
// FIXME: should be kfile_off_t
} KFile;
/**
} KFile;
/**