Skip to content

Commit 14cf874

Browse files
committed
codeobject: fix capi upcall constructor args order
1 parent 60c2879 commit 14cf874

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

graalpython/com.oracle.graal.python.cext/src/codeobject.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0
@@ -52,7 +52,6 @@ PyCodeObject* PyCode_New(int argcount, int kwonlyargcount,
5252
return UPCALL_CEXT_O(_jls_PyCode_New, argcount, kwonlyargcount,
5353
nlocals, stacksize, flags,
5454
native_to_java(code), native_to_java(consts), native_to_java(names),
55-
native_to_java(varnames), native_to_java(freevars), native_to_java(cellvars),
56-
native_to_java(filename), native_to_java(name), firstlineno,
57-
native_to_java(lnotab));
55+
native_to_java(varnames), native_to_java(filename), native_to_java(name), firstlineno,
56+
native_to_java(lnotab), native_to_java(freevars), native_to_java(cellvars));
5857
}

0 commit comments

Comments
 (0)