Have you seen Storage.c:allocateMightFail ? Ömer
David Feuer <[email protected]>, 20 Eyl 2018 Per, 11:32 tarihinde şunu yazdı: > > I'm working on re-implementing the stable name system. For the new design, it > seems much cleaner to allocate stable names in lookupStableName (in > rts/StableName.c) rather than in the C-- code that calls it. But I haven't > seen RTS code that does heap allocation. Is it possible? If so, how do I do > it? > _______________________________________________ > ghc-devs mailing list > [email protected] > http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs _______________________________________________ ghc-devs mailing list [email protected] http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
