[svn:parrot] r43493 - trunk/compilers/pirc/src
cotto at svn.parrot.org
cotto at svn.parrot.org
Wed Jan 20 04:22:46 UTC 2010
Author: cotto
Date: Wed Jan 20 04:22:44 2010
New Revision: 43493
URL: https://trac.parrot.org/parrot/changeset/43493
Log:
[pirc] make pirc stop breaking every time someone runs headerizer
Modified:
trunk/compilers/pirc/src/bcgen.c
trunk/compilers/pirc/src/bcgen.h
Modified: trunk/compilers/pirc/src/bcgen.c
==============================================================================
--- trunk/compilers/pirc/src/bcgen.c Wed Jan 20 03:40:32 2010 (r43492)
+++ trunk/compilers/pirc/src/bcgen.c Wed Jan 20 04:22:44 2010 (r43493)
@@ -846,7 +846,7 @@
/*
-=item C<int emit_pbc_key(bytecode * const bc, key * const k)>
+=item C<int emit_pbc_key(bytecode * const bc, struct key * const k)>
Emit bytecode for the key C<k>. First the bytecode is
written to a temporary buffer, which is later unpacked
@@ -856,7 +856,7 @@
*/
int
-emit_pbc_key(ARGIN(bytecode * const bc), ARGIN(key * const k))
+emit_pbc_key(ARGIN(bytecode * const bc), ARGIN(struct key * const k))
{
ASSERT_ARGS(emit_pbc_key)
key_entry *iter;
Modified: trunk/compilers/pirc/src/bcgen.h
==============================================================================
--- trunk/compilers/pirc/src/bcgen.h Wed Jan 20 03:40:32 2010 (r43492)
+++ trunk/compilers/pirc/src/bcgen.h Wed Jan 20 04:22:44 2010 (r43493)
@@ -162,6 +162,10 @@
emit_opcode(ARGIN(bytecode * const bc), opcode_t op)
__attribute__nonnull__(1);
+int emit_pbc_key(ARGIN(bytecode * const bc), ARGIN(struct key * const k))
+ __attribute__nonnull__(1)
+ __attribute__nonnull__(2);
+
FLOATVAL get_num_const(ARGIN(bytecode * const bc), unsigned index)
__attribute__nonnull__(1);
@@ -285,8 +289,6 @@
STRING *get_string_const(bytecode * const bc, unsigned index);
-int emit_pbc_key(bytecode * const bc, struct key * const k);
-
/*
int add_string_const(bytecode * const bc, STRING *s);
More information about the parrot-commits
mailing list