Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix snippet
  • Loading branch information
arihant2math committed Mar 24, 2025
commit f0dee6ddcbf7806e5a4b7edf4a8bfd4efb10873b
7 changes: 3 additions & 4 deletions extra_tests/snippets/builtins_ctypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from _ctypes import sizeof
from _ctypes import _SimpleCData
from _ctypes import CFuncPtr as _CFuncPtr
import ctypes

from struct import calcsize as _calcsize

Expand Down Expand Up @@ -279,8 +278,8 @@ def LoadLibrary(self, name):
print(libc.srand(i))
print(test_byte_array)
print(test_byte_array._type_)
print("start printf")
libc.printf(test_byte_array)
# print("start printf")
# libc.printf(test_byte_array)

# windows pip support

Expand Down Expand Up @@ -322,4 +321,4 @@ def get_win_folder_via_ctypes(csidl_name: str) -> str:

return buf.value

print(get_win_folder_via_ctypes("CSIDL_DOWNLOADS"))
# print(get_win_folder_via_ctypes("CSIDL_DOWNLOADS"))
Loading