Skip to content

Commit

Permalink
update core ops
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehh committed Feb 15, 2011
1 parent e524519 commit 59be83a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/parrot/oplib/core_ops.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "parrot/runcore_api.h"

PARROT_EXPORT
op_lib_t *Parrot_DynOp_core_3_0_0(PARROT_INTERP, long init);
op_lib_t *Parrot_DynOp_core_3_1_0(PARROT_INTERP, long init);

opcode_t * Parrot_end(opcode_t *, PARROT_INTERP);
opcode_t * Parrot_noop(opcode_t *, PARROT_INTERP);
Expand Down
6 changes: 3 additions & 3 deletions src/ops/core_ops.c
Original file line number Diff line number Diff line change
Expand Up @@ -25792,7 +25792,7 @@ op_lib_t core_op_lib = {
PARROT_FUNCTION_CORE, /* core_type = PARROT_XX_CORE */
0, /* flags */
3, /* major_version */
0, /* minor_version */
1, /* minor_version */
0, /* patch_version */
1069, /* op_count */
core_op_info_table, /* op_info_table */
Expand Down Expand Up @@ -25919,7 +25919,7 @@ static void hop_deinit(PARROT_INTERP)
hop_buckets = NULL;
}PARROT_EXPORT
op_lib_t *
Parrot_DynOp_core_3_0_0(PARROT_INTERP, long init) {
Parrot_DynOp_core_3_1_0(PARROT_INTERP, long init) {
/* initialize and return op_lib ptr */
if (init == 1) {

Expand Down Expand Up @@ -25948,7 +25948,7 @@ Parrot_lib_core_ops_load(PARROT_INTERP)

{
PMC *const lib = Parrot_pmc_new(interp, enum_class_ParrotLibrary);
((Parrot_ParrotLibrary_attributes*)PMC_data(lib))->oplib_init = (void *) Parrot_DynOp_core_3_0_0;
((Parrot_ParrotLibrary_attributes*)PMC_data(lib))->oplib_init = (void *) Parrot_DynOp_core_3_1_0;
dynop_register(interp, lib);
return lib;
}
Expand Down

0 comments on commit 59be83a

Please sign in to comment.