Rechercher une page de manuel
PACKFILE_VTABLE
Langue: en
Version: version 4.2.2 (mandriva - 01/05/08)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
PACKFILE_VTABLE - Packfile vtable structure, for custom packfiles. Allegro game programming library.SYNOPSIS
#include <allegro.h>typedef struct PACKFILE_VTABLE
DESCRIPTION
int pf_fclose(void *userdata);
int pf_getc(void *userdata);
int pf_ungetc(int c, void *userdata);
long pf_fread(void *p, long n, void *userdata);
int pf_putc(int c, void *userdata);
long pf_fwrite(const void *p, long n, void *userdata);
int pf_fseek(void *userdata, int offset);
int pf_feof(void *userdata);
int pf_ferror(void *userdata);
This is the vtable which must be provided for custom packfiles, which then can read from and write to wherever you like (eg. files in memory). You should provide all the entries of the vtable, even if they are empty stubs doing nothing, to avoid Allegro (or you) calling a NULL method at some point. SEE ALSO
pack_fopen_vtable(3), expackf(3)
-!- Tiboooo is now known as NRV_GRAVE
< vinc_> ça commence
< vinc_> et dis toi que t'en est qu'a l'install
< vinc_> (mdr)
< NRV_GRAVE> nop:)
< NRV_GRAVE> rien a voir
< NRV_GRAVE> g voulu me faire un café
< NRV_GRAVE> et me suis apercu que des mouches ont chié dans ma tasse :/
-- Tiboooo in "Check derrière la tasse" --
#debian-fr
< vinc_> ça commence
< vinc_> et dis toi que t'en est qu'a l'install
< vinc_> (mdr)
< NRV_GRAVE> nop:)
< NRV_GRAVE> rien a voir
< NRV_GRAVE> g voulu me faire un café
< NRV_GRAVE> et me suis apercu que des mouches ont chié dans ma tasse :/
-- Tiboooo in "Check derrière la tasse" --
#debian-fr
Contenus ©2006-2008 Benjamin Poulain
Design ©2006-2008 Maxime Vantorre