/simpletypesystem/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/simpletypesystem/trunk

« back to all changes in this revision

Viewing changes to libssts/MainLoop.h

  • Committer: Gustav Hartvigsson
  • Date: 2016-09-07 20:42:04 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20160907204204-s97ifo5zh3csfrlc
* Added Better comments to SRingBuffer
* Fixed indentation
* Added skeleton for a basic console/terminal manipulation... Nothing fancy like ncurs..

Show diffs side-by-side

added added

removed removed

Lines of Context:
239
239
S_EXPORTED
240
240
void
241
241
s_main_loop_add_io_push (SMainLoop * loop,
242
 
                         SMainLoopRing ring,
243
 
                         RunFunc push_callback,
244
 
                         spointer user_data);
 
242
                         SMainLoopRing ring,
 
243
                         RunFunc push_callback,
 
244
                         spointer user_data);
245
245
 
246
246
/** @brief
247
247
 * Add a I/O pull event to the main loop.
269
269
S_EXPORTED
270
270
void
271
271
s_main_loop_add_worker (SMainLoop * loop,
272
 
                        SMainLoopRing ring,
273
 
                        RunFunc worker_callback,
274
 
                        spointer user_data);
 
272
                        SMainLoopRing ring,
 
273
                        RunFunc worker_callback,
 
274
                        spointer user_data);
275
275
 
276
276
/** @brief
277
277
 * Add a teardown handler.
286
286
S_EXPORTED
287
287
void
288
288
s_main_loop_add_teardown_handler (SMainLoop * loop,
289
 
                                  Callback teardown_handler,
290
 
                                  spointer self,
291
 
                                  spointer user_data);
 
289
                                  Callback teardown_handler,
 
290
                                  spointer self,
 
291
                                  spointer user_data);
292
292
 
293
293
 
294
294
/**