diff src/paranormal/libcalc/parser.h @ 342:17311560f45f trunk

[svn] - port from fmemopen() to vfs_buffer_new_from_string().
author nenolod
date Fri, 08 Dec 2006 03:27:31 -0800
parents 3e160f6c04d2
children fa9f85cebade
line wrap: on
line diff
--- a/src/paranormal/libcalc/parser.h	Thu Dec 07 15:20:41 2006 -0800
+++ b/src/paranormal/libcalc/parser.h	Fri Dec 08 03:27:31 2006 -0800
@@ -24,12 +24,14 @@
 
 #include <glib.h>
 #include <stdio.h>
+#include <audacious/vfs.h>
+#include <audacious/vfs_buffer.h>
 
 #include "execute.h"
 
 /* Structure passed do yyparse. */
 typedef struct {
-  FILE *input;
+  VFSFile *input;
   expression_t *expr;
   symbol_dict_t *dict;
 } parser_control;