File: giostream.go.h

package info (click to toggle)
golang-github-gotk3-gotk3 0.6.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,392 kB
  • sloc: ansic: 914; makefile: 4
file content (14 lines) | stat: -rw-r--r-- 360 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include <gio/gio.h>
#include <glib.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

static GIOStream *toGIOStream(void *p) { return (G_IO_STREAM(p)); }

static GInputStream *toGInputStream(void *p) { return (G_INPUT_STREAM(p)); }

static GOutputStream *toGOutputStream(void *p) { return (G_OUTPUT_STREAM(p)); }