feat: generate images in desired size function added
This commit is contained in:
parent
34acdba156
commit
06d52222ad
|
@ -324,3 +324,8 @@ proc switchFleet*(newFleet: string, configJSON: string): string =
|
|||
var funcOut = go_shim.switchFleet(newFleet.cstring, configJSON.cstring)
|
||||
defer: go_shim.free(funcOut)
|
||||
return $funcOut
|
||||
|
||||
proc generateImages*(imagePath: string, aX: int, aY: int, bX: int, bY: int): string =
|
||||
var funcOut = go_shim.generateImages(imagePath.cstring, aX.cint, aY.cint, bX.cint, bY.cint)
|
||||
defer: go_shim.free(funcOut)
|
||||
return $funcOut
|
|
@ -132,3 +132,5 @@ proc getPasswordStrength*(paramsJSON: cstring): cstring {.importc: "GetPasswordS
|
|||
proc getPasswordStrengthScore*(paramsJSON: cstring): cstring {.importc: "GetPasswordStrengthScore".}
|
||||
|
||||
proc switchFleet*(newFleet: cstring, configJSON: cstring): cstring{.importc: "SwitchFleet".}
|
||||
|
||||
proc generateImages*(imagePath: cstring, aX: cint, aY: cint, bX: cint, bY: cint): cstring {.importc: "GenerateImages".}
|
Loading…
Reference in New Issue