{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":["devel/libffi","devel/p5-Capture-Tiny","devel/p5-FFI-CheckLib","devel/p5-FFI-Platypus","devel/p5-Ref-Util","devel/p5-Ref-Util-XS","lang/perl5.42","print/indexinfo","sysutils/p5-File-Which"],"categories":["devel","perl5"],"comment":"Platypus custom type for an object wrapped around an opaque pointer","compare":null,"dependentCount":null,"description":"FFI::Platypus::Type::PtrObject is a helper type for FFI::Platypus that handles\ntype checking for the common pattern where a Perl class is a simple wrapper\naround an opaque pointer. The class should be implemented as a hash reference,\nand the pointer itself is expected to be stored on the ptr key. If the caller of\nthe interface (Perl) is responsible for cleaning up the memory, then it normally\nshould be done in the DESTROY method (as above).\n\nIf you do not pass in the correct type, it will be detected before the C code is\ncalled and an exception will be thrown. (otherwise you would probably get a\nsegment violation SEGV).","flavors":[],"html":"https://daemonports.org/devel/p5-FFI-Platypus-Type-PtrObject/","kind":"port","lastUpdate":null,"license":["ART10","GPLv1+"],"maintainer":"sunpoet@FreeBSD.org","name":"p5-FFI-Platypus-Type-PtrObject","newest":true,"newestVersion":"0.03","noVulnData":false,"origin":"devel/p5-FFI-Platypus-Type-PtrObject","otherSystems":[{"maintainer":"sunpoet@FreeBSD.org","newest":true,"origin":"devel/p5-FFI-Platypus-Type-PtrObject","path":"/dragonfly/devel/p5-FFI-Platypus-Type-PtrObject/","system":"DragonFly","version":"0.03"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-FFI-Platypus-Type-PtrObject","path":"","system":"HardenedBSD","version":"0.03"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-FFI-Platypus-Type-PtrObject","path":"","system":"GhostBSD","version":"0.03"}],"packages":[{"repo":"FreeBSD:14:latest","versions":["0.03","0.03","0.03","0.03","0.03"]},{"repo":"FreeBSD:14:quarterly","versions":["0.03","0.03","n/a","0.03","0.03"]},{"repo":"FreeBSD:15:latest","versions":["0.03","0.03","n/a","0.03","0.03"]},{"repo":"FreeBSD:15:quarterly","versions":["0.03","0.03","n/a","n/a","n/a"]},{"repo":"FreeBSD:16:latest","versions":["0.03","0.03","n/a","n/a","n/a"]},{"repo":"FreeBSD:16:quarterly","versions":["n/a","n/a","n/a","n/a","n/a"]}],"pkgName":"p5-FFI-Platypus-Type-PtrObject-0.03","related":null,"repository":"FreeBSD ports","requiredBy":["archivers/p5-Archive-Libarchive"],"requiredByCount":1,"runDepends":["devel/libffi","devel/p5-Capture-Tiny","devel/p5-FFI-CheckLib","devel/p5-FFI-Platypus","devel/p5-Ref-Util","devel/p5-Ref-Util-XS","lang/perl5.42","print/indexinfo","sysutils/p5-File-Which"],"status":null,"system":"freebsd","systemLabel":"FreeBSD","version":"0.03","versions":null,"vulnerabilities":null,"www":"https://metacpan.org/dist/FFI-Platypus-Type-PtrObject"}
