mirror of
https://github.com/python/cpython.git
synced 2025-09-29 11:45:57 +00:00
parent
4c7317768b
commit
acdedfbf0a
1 changed files with 0 additions and 12 deletions
|
@ -197,18 +197,6 @@ EXPORT(PY_LONG_LONG) _testfunc_callback_q_qf(PY_LONG_LONG value,
|
|||
|
||||
#endif
|
||||
|
||||
EXPORT(int) _testfunc_ppp(char ***p)
|
||||
{
|
||||
static char message[] = "Hello, World";
|
||||
if (p) {
|
||||
*p = (char **)malloc(sizeof(char *));
|
||||
printf("malloc returned %p\n", *p);
|
||||
**p = message;
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
typedef struct {
|
||||
char *name;
|
||||
char *value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue