From: Nick Bowler Date: Mon, 14 May 2012 21:47:14 +0000 (-0400) Subject: libupkg: Store export parent pointers directly. X-Git-Url: https://git.draconx.ca/gitweb/upkg.git/commitdiff_plain/95f7a657a099c844a644b8736bd18e08afd50661?hp=95f7a657a099c844a644b8736bd18e08afd50661 libupkg: Store export parent pointers directly. Making users handle the package member directly leads to some fairly ridiculous and somewhat tricky code. Resolve them all at package load time and store pointers directly in the upkg_export structure, which should help simplify the callers. At this point, we codify the "exports cannot have packages which are imports" assumption, which appears to be valid. It's not obvious how name lookup could possibly succeed if this were not the case. ---