Skip to content

Commit 0b98981

Browse files
committed
Implement context function ctx_List_Check
1 parent 784b1ea commit 0b98981

File tree

1 file changed

+2
-0
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/hpy

1 file changed

+2
-0
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/hpy/GraalHPyContext.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ enum HPyContextMembers {
260260
CTX_TUPLE_BUILDER_SET("ctx_TupleBuilder_Set"),
261261
CTX_TUPLE_BUILDER_BUILD("ctx_TupleBuilder_Build"),
262262
CTX_TUPLE_BUILDER_CANCEL("ctx_TupleBuilder_Cancel"),
263+
CTX_LIST_CHECK("ctx_List_Check"),
263264
CTX_LIST_BUILDER_NEW("ctx_ListBuilder_New"),
264265
CTX_LIST_BUILDER_SET("ctx_ListBuilder_Set"),
265266
CTX_LIST_BUILDER_BUILD("ctx_ListBuilder_Build"),
@@ -563,6 +564,7 @@ private static Object[] createMembers(PythonContext context) {
563564
members[HPyContextMembers.CTX_TUPLE_BUILDER_BUILD.ordinal()] = new GraalHPyBuilderBuild(PTuple);
564565
members[HPyContextMembers.CTX_TUPLE_BUILDER_CANCEL.ordinal()] = graalHPyBuilderCancel;
565566

567+
members[HPyContextMembers.CTX_LIST_CHECK.ordinal()] = new GraalHPyCheckBuiltinType(PList);
566568
members[HPyContextMembers.CTX_LIST_BUILDER_NEW.ordinal()] = graalHPyBuilderNew;
567569
members[HPyContextMembers.CTX_LIST_BUILDER_SET.ordinal()] = graalHPyBuilderSet;
568570
members[HPyContextMembers.CTX_LIST_BUILDER_BUILD.ordinal()] = new GraalHPyBuilderBuild(PList);

0 commit comments

Comments
 (0)