clarify what was meant by "special" in a comment
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
* file.
|
* file.
|
||||||
* 3. Add a referencing macro at bottom of this file after the mextra
|
* 3. Add a referencing macro at bottom of this file after the mextra
|
||||||
* struct (see MNAME, EGD, EPRI, ESHK, EMIN, or EDOG for examples).
|
* struct (see MNAME, EGD, EPRI, ESHK, EMIN, or EDOG for examples).
|
||||||
* 4. If your new field isn't a pointer and requires a special value
|
* 4. If your new field isn't a pointer and requires a non-zero value
|
||||||
* on initialization, add code to init_mextra() in src/makemon.c
|
* on initialization, add code to init_mextra() in src/makemon.c
|
||||||
* 5. Create a newXX(mtmp) function and possibly a free_XX(mtmp)
|
* 5. Create a newXX(mtmp) function and possibly a free_XX(mtmp)
|
||||||
* function in an appropriate new or existing source file and add
|
* function in an appropriate new or existing source file and add
|
||||||
|
|||||||
@@ -389,7 +389,7 @@ struct obj {
|
|||||||
* 4. Add a testing macro after the set of referencing macros
|
* 4. Add a testing macro after the set of referencing macros
|
||||||
* (see has_oname(), has_omonst(), has_omailcmd(), and has_omin(),
|
* (see has_oname(), has_omonst(), has_omailcmd(), and has_omin(),
|
||||||
* for examples).
|
* for examples).
|
||||||
* 5. If your new field isn't a pointer and requires a special value
|
* 5. If your new field isn't a pointer and requires a non-zero value
|
||||||
* on initialization, add code to init_oextra() in src/mkobj.c.
|
* on initialization, add code to init_oextra() in src/mkobj.c.
|
||||||
* 6. Create newXX(otmp) function and possibly free_XX(otmp) function
|
* 6. Create newXX(otmp) function and possibly free_XX(otmp) function
|
||||||
* in an appropriate new or existing source file and add a prototype
|
* in an appropriate new or existing source file and add a prototype
|
||||||
|
|||||||
Reference in New Issue
Block a user