Skip to content

Commit

Permalink
add an example of string array.
Browse files Browse the repository at this point in the history
TODO: make a reverser
  • Loading branch information
trolldbois committed Jul 26, 2017
1 parent c6a920d commit bc5fe4d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/structures/stringarray.py
@@ -0,0 +1,9 @@
import ctypes


class array_of_pointers(ctypes.Structure):
_fields_ = [('array', ctypes.CString*64)]


class array_of_wcharp(ctypes.Structure):
_fields_ = [('array', ctypes.CWString*64)]

0 comments on commit bc5fe4d

Please sign in to comment.