Encapsulation (computer programming): Difference between revisions

Content deleted Content added
Tags: canned edit summary Mobile app edit
Line 133:
extern void close_entity(struct Entity *info);
</source>
Clients call the API functions to allocate, operate on, and deallocate objects of an [[opaque data type]]. The contents of this type are known and accessible only to the implementation of the API functions; clients cannot directly access its contents. The source code for these functions defines the actual contents of the structure:
<source lang="csharp">
// Implementation file "api.c"