Commit 47eb52be by Stéphane Graber

Merge pull request #702 from hallyn/2015-11-17/comment

lxc_container struct: add comment about moving member fns
parents e8f6a15c e2ae7f6d
...@@ -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