Mercurial > projects > hoofbaby
comparison src/impl/hoofbaby/platinum/platif.d @ 0:3425707ddbf6
Initial import (hopefully this mercurial stuff works...)
author | fraserofthenight |
---|---|
date | Mon, 06 Jul 2009 08:06:28 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:3425707ddbf6 |
---|---|
1 #line 1 "C:/d/workspace/hoofbaby/src/platif/platif.h" | |
2 #line 18 "C:/d/workspace/hoofbaby/src/platif/platif.h" | |
3 #line 1 "../dtypes.h" | |
4 #line 19 "C:/d/workspace/hoofbaby/src/platif/platif.h" | |
5 | |
6 | |
7 module hoofbaby.platinum.platif; | |
8 import hoofbaby.util.sharedlib; | |
9 | |
10 | |
11 struct Hoofbaby | |
12 { | |
13 int (*Stream_New)(void**); | |
14 int (*Stream_Read)(void*, void*, uint , uint *); | |
15 int (*Stream_Seek)(void*, ulong ); | |
16 int (*Stream_Tell)(void*, ulong *); | |
17 int (*Stream_GetSize)(void*, ulong *); | |
18 int (*Stream_GetAvailable)(void*, ulong *); | |
19 }; | |
20 | |
21 mixin(shared_mixin("platif", [ | |
22 "void function (Hoofbaby* interf)" , "initHoofbaby", | |
23 "int function ( char* path)" , "startServer", | |
24 "", ""])); |