diff options
author | midipix <writeonce@midipix.org> | 2015-12-04 20:43:04 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-10 23:35:30 -0500 |
commit | 88e83272a884b3acf62005a13d352781882f5cff (patch) | |
tree | 1d8ca651916f7a1460da8d9dcb2290d89fa8cace /include | |
parent | 6e813807b7eecb7b35f661db3d481c3fa1847a1d (diff) | |
download | perk-88e83272a884b3acf62005a13d352781882f5cff.tar.bz2 perk-88e83272a884b3acf62005a13d352781882f5cff.tar.xz |
API redesign 3/10: pe_common_ctx: protect the secondary context structures against direct modification.
Diffstat (limited to 'include')
-rw-r--r-- | include/perk/perk.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/perk/perk.h b/include/perk/perk.h index de2ee57..e2001e1 100644 --- a/include/perk/perk.h +++ b/include/perk/perk.h @@ -121,10 +121,10 @@ struct pe_common_ctx { const char * srcdir; const char * dstdir; const char * tmpdir; - struct pe_symbol_ctx * symctx; - struct pe_output_ctx * outctx; - struct pe_linker_ctx * lnkctx; - struct pe_server_ctx * srvctx; + const struct pe_symbol_ctx * symctx; + const struct pe_output_ctx * outctx; + const struct pe_linker_ctx * lnkctx; + const struct pe_server_ctx * srvctx; }; struct pe_driver_ctx { |