Opened 15 years ago

Last modified 15 years ago

#2978 new defect

PATCH Perl MapScript msIO_getStdoutBufferBytes and imageObj::getBytes

Reported by: trcounter Owned by: tomkralidis
Priority: high Milestone:
Component: MapScript-Perl Version: 5.2
Severity: critical Keywords:
Cc: sdlime

Description

i made a patch to this functions for the mapscript_wrap.c file i used with the patch of changeset 8847, hope so usefully.

i return in this functions a string, instead the gdBuffer object (or _p_gdBuffer).

Attachments (1)

mapserver_mapscript_perl_gdbuffer_bytes.patch (1.5 KB ) - added by trcounter 15 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by trcounter, 15 years ago

Severity: normalcritical
Summary: Perl MapScript msIO_getStdoutBufferBytes and imageObj::getBytesPATCH Perl MapScript msIO_getStdoutBufferBytes and imageObj::getBytes
Version: unspecified5.2

comment:2 by trcounter, 15 years ago

Priority: normalhigh

comment:3 by tomkralidis, 15 years ago

Cc: sdlime added

Steve: any comments on this patch (I'm not a swig guy)

comment:4 by sdlime, 15 years ago

Got me, I'm not a swig guy at this level either. ;-) Patch looks simpler though so I'd be ok with trying it. What necessitated the patch in the first place? Are there swig version limitations?

Steve

comment:5 by sdlime, 15 years ago

Wait, I see this patch is against mapscript_wrap.c and that's not a file we maintain as it's generated by swig. We need to try to fix this through the typemaps in mapscript/swig/plmodule.i instead (see #2968).

Steve

Note: See TracTickets for help on using tickets.