develooper Front page | perl.cvs.parrot | Postings from January 2009

[svn:parrot] r34755 - trunk/compilers/pirc/new

From:
kjs
Date:
January 1, 2009 11:00
Subject:
[svn:parrot] r34755 - trunk/compilers/pirc/new
Message ID:
20090101190048.B9CD7CB9FA@x12.develooper.com
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 */
 
 /*



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About