File: oop-glib.h

package info (click to toggle)
liboop 1.0.1-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,108 kB
  • sloc: sh: 11,098; ansic: 2,533; makefile: 133
file content (25 lines) | stat: -rw-r--r-- 677 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* oop-glib.h, liboop, copyright 1999 Dan Egnor

   This is free software; you can redistribute it and/or modify it under the
   terms of the GNU Lesser General Public License, version 2.1 or later.
   See the file COPYING for details. */

#ifndef OOP_GLIB_H
#define OOP_GLIB_H

#ifndef __G_LIB_H__
#error You must include "glib.h" before "oop-glib.h"!
#endif

#include "oop.h"

/* Create an event source based on the GLib event loop. */
oop_source *oop_glib_new(void);

/* Delete the event source so created.  (Uses reference counting.) */
void oop_glib_delete(void);

/* Get the value used to terminate the event loop (e.g. OOP_HALT). */
void *oop_glib_return(void);

#endif