… | |
… | |
350 | abort (); |
350 | abort (); |
351 | } |
351 | } |
352 | |
352 | |
353 | static int poll_cb (void); |
353 | static int poll_cb (void); |
354 | static void req_free (bdb_req req); |
354 | static void req_free (bdb_req req); |
355 | static void req_cancel (bdb_req req); |
|
|
356 | |
355 | |
357 | static int req_invoke (bdb_req req) |
356 | static int req_invoke (bdb_req req) |
358 | { |
357 | { |
359 | switch (req->type) |
358 | switch (req->type) |
360 | { |
359 | { |
… | |
… | |
1135 | } |
1134 | } |
1136 | |
1135 | |
1137 | return 0; |
1136 | return 0; |
1138 | } |
1137 | } |
1139 | |
1138 | |
1140 | /* stupid windoes defined CALLBACK as well */ |
1139 | /* stupid windows defines CALLBACK as well */ |
1141 | #undef CALLBACK |
1140 | #undef CALLBACK |
1142 | #define CALLBACK SV *cb = pop_callback (&items, ST (items - 1)); |
1141 | #define CALLBACK SV *cb = pop_callback (&items, ST (items - 1)); |
1143 | |
1142 | |
1144 | MODULE = BDB PACKAGE = BDB |
1143 | MODULE = BDB PACKAGE = BDB |
1145 | |
1144 | |