Skip to content

Commit 7671234

Browse files
committed
Document StgDictObject
1 parent 50a4f32 commit 7671234

File tree

1 file changed

+5
-1
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/ctypes

1 file changed

+5
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/ctypes/StgDictObject.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2021, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2021, 2025, 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
@@ -48,6 +48,10 @@
4848
import com.oracle.truffle.api.object.Shape;
4949
import com.oracle.truffle.api.strings.TruffleString;
5050

51+
/**
52+
* Extra information for ctypes stored in a type's dict. See
53+
* https://github.com/python/cpython/blob/fece15d29f28e89f1231afa80508c80ed28dc37d/Modules/_ctypes/ctypes.h#L333
54+
*/
5155
public final class StgDictObject extends PDict {
5256

5357
protected static final int VOID_PTR_SIZE = Long.BYTES; // sizeof(void *)

0 commit comments

Comments
 (0)