mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-10-05 01:49:02 +00:00
Export symbol as VTK_IO_EXPORT.
This commit is contained in:
parent
1a16299b8c
commit
54e15e8f14
@ -11,6 +11,7 @@
|
||||
#define vtk_m_io_DecodePNG_h
|
||||
|
||||
#include <vtkm/Types.h>
|
||||
#include <vtkm/io/vtkm_io_export.h>
|
||||
|
||||
#include <vector>
|
||||
|
||||
@ -24,7 +25,7 @@ namespace io
|
||||
/// no matter what color type the original PNG image had. This gives predictable,
|
||||
/// usable data from any random input PNG.
|
||||
///
|
||||
VTKM_ALWAYS_EXPORT
|
||||
VTKM_IO_EXPORT
|
||||
vtkm::UInt32 DecodePNG(std::vector<unsigned char>& out_image,
|
||||
unsigned long& image_width,
|
||||
unsigned long& image_height,
|
||||
|
@ -11,6 +11,7 @@
|
||||
#define vtk_m_io_EncodePNG_h
|
||||
|
||||
#include <vtkm/Types.h>
|
||||
#include <vtkm/io/vtkm_io_export.h>
|
||||
|
||||
#include <vector>
|
||||
|
||||
@ -19,14 +20,14 @@ namespace vtkm
|
||||
namespace io
|
||||
{
|
||||
|
||||
VTKM_ALWAYS_EXPORT
|
||||
VTKM_IO_EXPORT
|
||||
vtkm::UInt32 EncodePNG(std::vector<unsigned char> const& image,
|
||||
unsigned long width,
|
||||
unsigned long height,
|
||||
unsigned char* out_png,
|
||||
std::size_t out_size);
|
||||
|
||||
VTKM_ALWAYS_EXPORT
|
||||
VTKM_IO_EXPORT
|
||||
vtkm::UInt32 SavePNG(std::string const& filename,
|
||||
std::vector<unsigned char> const& image,
|
||||
unsigned long width,
|
||||
|
Loading…
Reference in New Issue
Block a user