ACF Source Package Names

The Package Name plays a pivotal role in identifying a package within ACF. You have the flexibility to install multiple packages, but it's imperative that each package possesses a unique name. Should you attempt to compile a package with a name identical to one that's already installed, the new package will overwrite the existing one.

In the plugin function "ACF_GetAllPrototypes," you gain access to a comprehensive list of all installed packages and the prototypes for functions contained within them. The Package name and its description are displayed before listing the functions contained in each package.

It's crucial to note that a package must have a designated name; otherwise, you'll receive a compilation warning, and the Package name will default to "STD." Consequently, several nameless sources cannot coexist within the plugin.

The Package name is the first command in the source file and follows this format:

package <name of package> "<a short description>"; 

function blabla....

Example:

package MarkDownFunctions "MarkDown funksjoner for dok prosjektet..."; 

function post_processing (string htmlfile)

    print "post processing\n";
    ..
    ..
    ..

In this example, the package name "MarkDownFunctions" is provided along with a brief description of its purpose.