Commit 62d4edf2 by Serge Hallyn Committed by Stéphane Graber

lxc_container struct: add comment about moving member fns

parent a2e1ec0a
...@@ -51,6 +51,10 @@ struct lxc_lock; ...@@ -51,6 +51,10 @@ struct lxc_lock;
/*! /*!
* An LXC container. * An LXC container.
*
* Note that changing the order of struct members is an API change, as callers
* will end up having the wrong offset when calling a function. So when making
* changes, whenever possible stick to simply appending new members.
*/ */
struct lxc_container { struct lxc_container {
// private fields // private fields
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment