Author: kjs
Date: Thu Jan  1 11:00:48 2009
New Revision: 34755

Modified:
   trunk/compilers/pirc/new/pircapi.c
   trunk/compilers/pirc/new/pircapi.h

Log:
[pirc] add a new API function for PIRC. Empty stub now.

Modified: trunk/compilers/pirc/new/pircapi.c
==============================================================================
--- trunk/compilers/pirc/new/pircapi.c  (original)
+++ trunk/compilers/pirc/new/pircapi.c  Thu Jan  1 11:00:48 2009
@@ -227,6 +227,15 @@
 
 
 
+PARROT_CANNOT_RETURN_NULL
+PackFile_ByteCode *
+pirc_compile_file(PARROT_INTERP, const char *filename, STRING **error_message) 
{
+    return NULL;
+}
+
+
+
+
 /*
 
 =back

Modified: trunk/compilers/pirc/new/pircapi.h
==============================================================================
--- trunk/compilers/pirc/new/pircapi.h  (original)
+++ trunk/compilers/pirc/new/pircapi.h  Thu Jan  1 11:00:48 2009
@@ -15,6 +15,10 @@
 void parse_file(PARROT_INTERP, int flexdebug, FILE *infile, char * const 
filename, int flags,
                 int thr_id, unsigned macro_size, char * const outputfile);
 
+
+
+PackFile_ByteCode *pirc_compile_file(PARROT_INTERP, const char *filename, 
STRING **error_message);
+
 #endif /* PARROT_PIR_PIRCAPI_H_GUARD */
 
 /*

Reply via email to