{"@context":"https://w3id.org/codemeta/3.0","@type":"SoftwareSourceCode","identifier":"pkg:hackage/language-c-inline","name":"language-c-inline","description":"This library provides inline C \u0026 Objective-C code using GHC's support for\nquasi-quotation. In particular, it enables the use of foreign libraries\nwithout a dedicated bridge or binding. Here is a tiny example:\n\nFor more information, see https://github.com/mchakravarty/language-c-inline/wiki.\n\nKnown bugs: https://github.com/mchakravarty/language-c-inline/issues\n\nNew in 0.7.10: Distinction between Class (NSObject pointers) and Struct (C pointers) in both hints and marhsallers.\n\nNew in 0.7.9: C wrapper names include the filename to disambiguate linker symbols.\n\nNew in 0.7.8: (1) Record marshalling; (2) foreign pointer-class marshalling; (3) custom type\nmarshallers; (4) marshall raw pointer types. Generated _objc.m files now always include \"HsFFI.h\"\n(as the tool can generate type names declared in that header). Marshals Bool as BOOL. Marshal Int\nand Word to NSInteger and NSUInteger, respectively.\n\nNew in 0.6.0: Introduction of explicit marshalling hints (for more flexibility and support of\nGHC 7.8's untyped Template Haskell quotations)\n\nNew in 0.5.0: Marshalling of numeric types\n\nNew in 0.4.0: Maybe types are marshalled as pointers that may be nil \u0026 bug fixes.\n\nNew in 0.3.0: Boxed Haskell types without a dedicated type mapping are marshalled using stable\npointers.\n\nNew in 0.2.0: Support for multiple free variables in one inline expression as well\nas for inline code returning void.\n\nNew in 0.1.0: We are just getting started! This is just a ROUGH AND\nHIGHLY EXPERIMENTAL PROTOTYPE.","version":"0.7.11.0","softwareVersion":"0.7.11.0","license":"https://spdx.org/licenses/BSD-3-Clause","codeRepository":"https://github.com/mchakravarty/language-c-inline","issueTracker":"https://github.com/mchakravarty/language-c-inline/issues","url":"https://github.com/mchakravarty/language-c-inline/","keywords":["bsd3","foreign","language","library","Propose Tags"],"programmingLanguage":{"@type":"ComputerLanguage","name":"Haskell"},"maintainer":[{"@type":"Person","name":"ManuelChakravarty"}],"author":[{"@type":"Person","name":"ManuelChakravarty"}],"copyrightHolder":[{"@type":"Person","name":"ManuelChakravarty"}],"dateCreated":"2014-01-21","dateModified":"2017-07-30","datePublished":"2017-07-30","copyrightYear":2014,"downloadUrl":"https://hackage.haskell.org/package/language-c-inline-0.7.11.0/language-c-inline-0.7.11.0.tar.gz","applicationCategory":"hackage","runtimePlatform":"hackage","developmentStatus":"active","sameAs":["https://hackage.haskell.org/package/language-c-inline"],"https://www.w3.org/ns/activitystreams#likes":148,"https://forgefed.org/ns#forks":15}