@@ -119,7 +119,6 @@ drawImage (Window wfptr) (Array fptr) cell =
|
119 | 119 | alloca $ \cellPtr -> do
|
120 | 120 | poke cellPtr =<< cellToAFCell cell
|
121 | 121 | throwAFError =<< af_draw_image wptr aptr cellPtr
|
122 |
| -free cellPtr |
123 | 122 |
|
124 | 123 | -- | Draw a plot onto a 'Window'
|
125 | 124 | --
|
@@ -146,7 +145,6 @@ drawPlot (Window w) (Array fptr1) (Array fptr2) cell =
|
146 | 145 | alloca $ \cellPtr -> do
|
147 | 146 | poke cellPtr =<< cellToAFCell cell
|
148 | 147 | throwAFError =<< af_draw_plot wptr ptr1 ptr2 cellPtr
|
149 |
| -free cellPtr |
150 | 148 |
|
151 | 149 | -- | Draw a plot onto a 'Window'
|
152 | 150 | --
|
@@ -168,7 +166,6 @@ drawPlot3 (Window w) (Array fptr) cell =
|
168 | 166 | alloca $ \cellPtr -> do
|
169 | 167 | poke cellPtr =<< cellToAFCell cell
|
170 | 168 | throwAFError =<< af_draw_plot3 wptr aptr cellPtr
|
171 |
| -free cellPtr |
172 | 169 |
|
173 | 170 | -- | Draw a plot onto a 'Window'
|
174 | 171 | --
|
@@ -190,7 +187,6 @@ drawPlotNd (Window w) (Array fptr) cell =
|
190 | 187 | alloca $ \cellPtr -> do
|
191 | 188 | poke cellPtr =<< cellToAFCell cell
|
192 | 189 | throwAFError =<< af_draw_plot_nd wptr aptr cellPtr
|
193 |
| -free cellPtr |
194 | 190 |
|
195 | 191 | -- | Draw a plot onto a 'Window'
|
196 | 192 | --
|
@@ -215,7 +211,6 @@ drawPlot2d (Window w) (Array fptr1) (Array fptr2) cell =
|
215 | 211 | alloca $ \cellPtr -> do
|
216 | 212 | poke cellPtr =<< cellToAFCell cell
|
217 | 213 | throwAFError =<< af_draw_plot_2d wptr ptr1 ptr2 cellPtr
|
218 |
| -free cellPtr |
219 | 214 |
|
220 | 215 | -- | Draw a 3D plot onto a 'Window'
|
221 | 216 | --
|
@@ -243,7 +238,6 @@ drawPlot3d (Window w) (Array fptr1) (Array fptr2) (Array fptr3) cell =
|
243 | 238 | alloca $ \cellPtr -> do
|
244 | 239 | poke cellPtr =<< cellToAFCell cell
|
245 | 240 | throwAFError =<< af_draw_plot_3d wptr ptr1 ptr2 ptr3 cellPtr
|
246 |
| -free cellPtr |
247 | 241 |
|
248 | 242 | -- | Draw a scatter plot onto a 'Window'
|
249 | 243 | --
|
@@ -270,7 +264,6 @@ drawScatter (Window w) (Array fptr1) (Array fptr2) (fromMarkerType -> m) cell =
|
270 | 264 | alloca $ \cellPtr -> do
|
271 | 265 | poke cellPtr =<< cellToAFCell cell
|
272 | 266 | throwAFError =<< af_draw_scatter wptr ptr1 ptr2 m cellPtr
|
273 |
| -free cellPtr |
274 | 267 |
|
275 | 268 | -- | Draw a scatter plot onto a 'Window'
|
276 | 269 | --
|
@@ -294,7 +287,6 @@ drawScatter3 (Window w) (Array fptr1) (fromMarkerType -> m) cell =
|
294 | 287 | alloca $ \cellPtr -> do
|
295 | 288 | poke cellPtr =<< cellToAFCell cell
|
296 | 289 | throwAFError =<< af_draw_scatter3 wptr ptr1 m cellPtr
|
297 |
| -free cellPtr |
298 | 290 |
|
299 | 291 | -- | Draw a scatter plot onto a 'Window'
|
300 | 292 | --
|
@@ -318,7 +310,6 @@ drawScatterNd (Window w) (Array fptr1) (fromMarkerType -> m) cell =
|
318 | 310 | alloca $ \cellPtr -> do
|
319 | 311 | poke cellPtr =<< cellToAFCell cell
|
320 | 312 | throwAFError =<< af_draw_scatter_nd wptr ptr1 m cellPtr
|
321 |
| -free cellPtr |
322 | 313 |
|
323 | 314 | -- | Draw a scatter plot onto a 'Window'
|
324 | 315 | --
|
@@ -345,7 +336,6 @@ drawScatter2d (Window w) (Array fptr1) (Array fptr2) (fromMarkerType -> m) cell
|
345 | 336 | alloca $ \cellPtr -> do
|
346 | 337 | poke cellPtr =<< cellToAFCell cell
|
347 | 338 | throwAFError =<< af_draw_scatter_2d wptr ptr1 ptr2 m cellPtr
|
348 |
| -free cellPtr |
349 | 339 |
|
350 | 340 | -- | Draw a scatter plot onto a 'Window'
|
351 | 341 | --
|
@@ -375,7 +365,6 @@ drawScatter3d (Window w) (Array fptr1) (Array fptr2) (Array fptr3) (fromMarkerTy
|
375 | 365 | alloca $ \cellPtr -> do
|
376 | 366 | poke cellPtr =<< cellToAFCell cell
|
377 | 367 | throwAFError =<< af_draw_scatter_3d wptr ptr1 ptr2 ptr3 m cellPtr
|
378 |
| -free cellPtr |
379 | 368 |
|
380 | 369 | -- | Draw a Histogram onto a 'Window'
|
381 | 370 | --
|
@@ -428,7 +417,6 @@ drawSurface (Window w) (Array fptr1) (Array fptr2) (Array fptr3) cell =
|
428 | 417 | alloca $ \cellPtr -> do
|
429 | 418 | poke cellPtr =<< cellToAFCell cell
|
430 | 419 | throwAFError =<< af_draw_surface wptr ptr1 ptr2 ptr3 cellPtr
|
431 |
| -free cellPtr |
432 | 420 |
|
433 | 421 | -- | Draw a Vector Field onto a 'Window'
|
434 | 422 | --
|
@@ -453,7 +441,6 @@ drawVectorFieldND (Window w) (Array fptr1) (Array fptr2) cell =
|
453 | 441 | alloca $ \cellPtr -> do
|
454 | 442 | poke cellPtr =<< cellToAFCell cell
|
455 | 443 | throwAFError =<< af_draw_vector_field_nd wptr ptr1 ptr2 cellPtr
|
456 |
| -free cellPtr |
457 | 444 |
|
458 | 445 | -- | Draw a Vector Field onto a 'Window'
|
459 | 446 | --
|
@@ -492,7 +479,6 @@ drawVectorField3d (Window w) (Array fptr1) (Array fptr2) (Array fptr3)
|
492 | 479 | alloca $ \cellPtr -> do
|
493 | 480 | poke cellPtr =<< cellToAFCell cell
|
494 | 481 | throwAFError =<< af_draw_vector_field_3d wptr ptr1 ptr2 ptr3 ptr4 ptr5 ptr6 cellPtr
|
495 |
| -free cellPtr |
496 | 482 |
|
497 | 483 | -- | Draw a Vector Field onto a 'Window'
|
498 | 484 | --
|
@@ -524,7 +510,6 @@ drawVectorField2d (Window w) (Array fptr1) (Array fptr2) (Array fptr3) (Array fp
|
524 | 510 | alloca $ \cellPtr -> do
|
525 | 511 | poke cellPtr =<< cellToAFCell cell
|
526 | 512 | throwAFError =<< af_draw_vector_field_2d wptr ptr1 ptr2 ptr3 ptr4 cellPtr
|
527 |
| -free cellPtr |
528 | 513 |
|
529 | 514 | -- | Draw a grid onto a 'Window'
|
530 | 515 | --
|
@@ -573,7 +558,6 @@ setAxesLimitsCompute (Window w) (Array fptr1) (Array fptr2) (Array fptr3) (fromI
|
573 | 558 | alloca $ \cellPtr -> do
|
574 | 559 | poke cellPtr =<< cellToAFCell cell
|
575 | 560 | throwAFError =<< af_set_axes_limits_compute wptr ptr1 ptr2 ptr3 exact cellPtr
|
576 |
| -free cellPtr |
577 | 561 |
|
578 | 562 | -- | Setting axes limits for a 2D histogram/plot/surface/vector field.
|
579 | 563 | --
|
@@ -601,7 +585,6 @@ setAxesLimits2d (Window w) xmin xmax ymin ymax (fromIntegral . fromEnum -> exact
|
601 | 585 | alloca $ \cellPtr -> do
|
602 | 586 | poke cellPtr =<< cellToAFCell cell
|
603 | 587 | throwAFError =<< af_set_axes_limits_2d wptr xmin xmax ymin ymax exact cellPtr
|
604 |
| -free cellPtr |
605 | 588 |
|
606 | 589 | -- | Setting axes limits for a 3D histogram/plot/surface/vector field.
|
607 | 590 | --
|
@@ -633,7 +616,6 @@ setAxesLimits3d (Window w) xmin xmax ymin ymax zmin zmax (fromIntegral . fromEnu
|
633 | 616 | alloca $ \cellPtr -> do
|
634 | 617 | poke cellPtr =<< cellToAFCell cell
|
635 | 618 | throwAFError =<< af_set_axes_limits_3d wptr xmin xmax ymin ymax zmin zmax exact cellPtr
|
636 |
| -free cellPtr |
637 | 619 |
|
638 | 620 |
|
639 | 621 | -- | Setting axes titles
|
@@ -661,7 +643,6 @@ setAxesTitles (Window w) x y z cell =
|
661 | 643 | withCString z $ \zstr -> do
|
662 | 644 | poke cellPtr =<< cellToAFCell cell
|
663 | 645 | throwAFError =<< af_set_axes_titles wptr xstr ystr zstr cellPtr
|
664 |
| -free cellPtr |
665 | 646 |
|
666 | 647 | -- | Displays 'Window'
|
667 | 648 | --
|
|
0 commit comments