So say I have a function like this:
int doSomeStuff(
const SomeStruct *myStruct
)And SomeStruct is defined like this:
| { | |
| "project" : { | |
| "name" : "Mods", | |
| "state" : { | |
| "position" : { | |
| "x" : -158, | |
| "y" : 364 | |
| }, | |
| "zoom" : 0.56880009227646, | |
| "currentTree" : 0 |
| package simulation.collision | |
| { | |
| import math.vec2; | |
| public class AABB | |
| { | |
| public var min:vec2; | |
| public var max:vec2; | |
| public function AABB(xmin:Number, ymin:Number, xmax:Number, ymax:Number) |
| package tiles | |
| { | |
| import simulation.collision.Segment; | |
| //this defines tile geometry and generates it on command | |
| // | |
| //++TODO: this seems like some sort of factory; it also seems like there's probably a much smarter way to go about doing all of this crap | |
| public interface TileEdgeArchetype | |
| { |
| HxScout - memory profiling | |
| HxSpy - rename for HxCPPObjectGraphViewer | |
| HxPyro - track mouse movement and generate heat maps for a given "screen" -- includes framework-agnostic hooks. (Could also repurpose the abstraction for Eye-tracking hardware) | |
| HxDemoman - possible rename of Crashdumper |
| package; | |
| import flash.text.TextFormat; | |
| import openfl.Assets; | |
| import openfl.display.Sprite; | |
| import openfl.Lib; | |
| import openfl.text.TextField; | |
| import openfl.text.TextFieldAutoSize; | |
| import openfl.text.TextFormatAlign; |
| First | Middle | Last | Credit as | Appearance | Amount | Perk | |
|---|---|---|---|---|---|---|---|
| Daniel | Fedor | Visible | $1000 | Platinum Sponsor | |||
| Gian | Prescilla | Visible | $500 | Gold Sponsor | |||
| Solar Powered Games | Visible | $500 | Gold Sponsor | ||||
| Etienne | Bégué | Visible | $250 | Silver Sponsor | |||
| David | Capello | Visible | $250 | Silver Sponsor | |||
| Luke | Hutscal | Anonymous | $250 | Silver Sponsor | |||
| Michael | Lee | Visible | $250 | Silver Sponsor | |||
| Axel | Anceau | Peekmo | Visible | $125 | Super Funder + Mega Pack | ||
| George | Kurelic | Visible | $125 | Super Funder + Mega Pack |
| package; | |
| #if macro | |
| import haxe.macro.Expr; | |
| #end | |
| class Loader | |
| { | |
| #if cpp | |
| public static function __init__() |
| I believe these settings should be enough to reproduce the error. | |
| platform: linux | |
| bits: 64 | |
| haxe version: latest dev version | |
| hxcpp: | |
| https://github.com/larsiusprime/hxcpp (master branch) | |
| openfl: |
| void ImageDataUtil::CopyPixels (Image* image, Image* sourceImage, Rectangle* sourceRect, Vector2* destPoint, Image* alphaImage, Vector2* alphaPoint, bool mergeAlpha) { | |
| uint8_t* sourceData = (uint8_t*)sourceImage->buffer->data->Data (); | |
| uint8_t* destData = (uint8_t*)image->buffer->data->Data (); | |
| ImageDataView sourceView = ImageDataView (sourceImage, sourceRect); | |
| Rectangle destRect = Rectangle (destPoint->x, destPoint->y, sourceView.width, sourceView.height); | |
| ImageDataView destView = ImageDataView (image, &destRect); | |
| PixelFormat sourceFormat = sourceImage->buffer->format; |
So say I have a function like this:
int doSomeStuff(
const SomeStruct *myStruct
)And SomeStruct is defined like this: