forked from enlightenment/efl
From: Lars Munch <lars@segv.dk>
thx, but you committed rev 1 of the patch. I send out an updated patch since the function naming did not follow "e" style. Attached patch renames the functions accordingly. Please apply. SVN revision: 40322
This commit is contained in:
parent
ae44cac932
commit
47840ee7a0
|
@ -294,8 +294,8 @@ extern "C" {
|
|||
EAPI Ecore_Pipe *ecore_pipe_add(void (*handler) (void *data, void *buffer, unsigned int nbyte), const void *data);
|
||||
EAPI void *ecore_pipe_del(Ecore_Pipe *p);
|
||||
EAPI int ecore_pipe_write(Ecore_Pipe *p, const void *buffer, unsigned int nbytes);
|
||||
EAPI void ecore_pipe_close_write(Ecore_Pipe *p);
|
||||
EAPI void ecore_pipe_close_read(Ecore_Pipe *p);
|
||||
EAPI void ecore_pipe_write_close(Ecore_Pipe *p);
|
||||
EAPI void ecore_pipe_read_close(Ecore_Pipe *p);
|
||||
|
||||
EAPI double ecore_time_get(void);
|
||||
EAPI double ecore_loop_time_get(void);
|
||||
|
|
|
@ -350,14 +350,14 @@ ecore_pipe_del(Ecore_Pipe *p)
|
|||
* @ingroup Ecore_Pipe_Group
|
||||
*/
|
||||
EAPI void
|
||||
ecore_pipe_close_read(Ecore_Pipe *p)
|
||||
ecore_pipe_read_close(Ecore_Pipe *p)
|
||||
{
|
||||
void *data;
|
||||
|
||||
if (!ECORE_MAGIC_CHECK(p, ECORE_MAGIC_PIPE))
|
||||
{
|
||||
ECORE_MAGIC_FAIL(p, ECORE_MAGIC_PIPE,
|
||||
"ecore_pipe_close_read");
|
||||
"ecore_pipe_read_close");
|
||||
return;
|
||||
}
|
||||
ecore_main_fd_handler_del(p->fd_handler);
|
||||
|
@ -373,14 +373,14 @@ ecore_pipe_close_read(Ecore_Pipe *p)
|
|||
* @ingroup Ecore_Pipe_Group
|
||||
*/
|
||||
EAPI void
|
||||
ecore_pipe_close_write(Ecore_Pipe *p)
|
||||
ecore_pipe_write_close(Ecore_Pipe *p)
|
||||
{
|
||||
void *data;
|
||||
|
||||
if (!ECORE_MAGIC_CHECK(p, ECORE_MAGIC_PIPE))
|
||||
{
|
||||
ECORE_MAGIC_FAIL(p, ECORE_MAGIC_PIPE,
|
||||
"ecore_pipe_close_write");
|
||||
"ecore_pipe_write_close");
|
||||
return;
|
||||
}
|
||||
close(p->fd_write);
|
||||
|
|
Loading…
Reference in New Issue