diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/impl/hoofbaby/platinum/platif.d	Mon Jul 06 08:06:28 2009 -0700
@@ -0,0 +1,24 @@
+#line 1 "C:/d/workspace/hoofbaby/src/platif/platif.h"
+#line 18 "C:/d/workspace/hoofbaby/src/platif/platif.h"
+#line 1 "../dtypes.h"
+#line 19 "C:/d/workspace/hoofbaby/src/platif/platif.h"
+
+
+module hoofbaby.platinum.platif;
+import hoofbaby.util.sharedlib;
+
+
+struct Hoofbaby
+{
+	int (*Stream_New)(void**);
+	int (*Stream_Read)(void*, void*,  uint ,  uint *);
+	int (*Stream_Seek)(void*,  ulong );
+	int (*Stream_Tell)(void*,  ulong *);
+	int (*Stream_GetSize)(void*,  ulong *);
+	int (*Stream_GetAvailable)(void*,  ulong *);
+};
+
+mixin(shared_mixin("platif", [
+	"void function (Hoofbaby* interf)" , "initHoofbaby",
+	"int function ( char* path)" , "startServer",
+"", ""]));