| 1150 | |
| 1151 | |
| 1152 | Dynamic _hx_std_socket_poll_alloc( int nsocks ) |
| 1153 | { |
| 1154 | if( nsocks < 0 || nsocks > 1000000 ) |
| 1155 | return null(); |
| 1156 | |
| 1157 | if (pollType==0) |
| 1158 | pollType = hxcpp_alloc_kind(); |
| 1159 | |
| 1160 | polldata *p = new polldata; |
| 1161 | p->create(nsocks); |
| 1162 | return p; |
| 1163 | } |
| 1164 | |
| 1165 | /** |
| 1166 | socket_poll_prepare : 'poll -> read:'socket array -> write:'socket array -> int array array |
nothing calls this directly
no test coverage detected