Message139675
| Author |
techtonik |
| Recipients |
docs@python, techtonik |
| Date |
2011年07月03日.08:02:36 |
| SpamBayes Score |
0.008099132 |
| Marked as misclassified |
No |
| Message-id |
<1309680157.38.0.0819979072917.issue12476@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
ctypes documentation lacks an example, how to pass a raw data block from Python to a C function. For example, how to pass this chunk:
data = open('somefile', 'rb').read()
to this function:
int checkBuffer(LPSTR lpData, DWORD dwBufferLength);
? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年07月03日 08:02:37 | techtonik | set | recipients:
+ techtonik, docs@python |
| 2011年07月03日 08:02:37 | techtonik | set | messageid: <1309680157.38.0.0819979072917.issue12476@psf.upfronthosting.co.za> |
| 2011年07月03日 08:02:36 | techtonik | link | issue12476 messages |
| 2011年07月03日 08:02:36 | techtonik | create |
|