AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Off-Topic (https://forums.alliedmods.net/forumdisplay.php?f=15)
-   -   Fakemeta and fakemeta_util dilemma (https://forums.alliedmods.net/showthread.php?t=253529)

Krtola 12-23-2014 16:37

Fakemeta and fakemeta_util dilemma
 
In many plugins I see together
PHP Code:

#include <fakemeta>
#include <fakemeta_util> 

and most of them can be compiled without

PHP Code:

include <fakemeta

My question is whether it is mandatory to add "include <fakemeta>" when we use "include <fakemeta_util>" or is not mandatory?

YamiKaitou 12-23-2014 16:43

Re: Fakemeta and fakemeta_util dilemma
 
fakemeta_util includes fakemeta if it is not already included. You should refrain from using fakemeta_util when possible though, since it is inefficient.

Krtola 12-23-2014 16:50

Re: Fakemeta and fakemeta_util dilemma
 
Quote:

Originally Posted by YamiKaitou (Post 2239150)
fakemeta_util includes fakemeta if it is not already included. You should refrain from using fakemeta_util when possible though, since it is inefficient.

clearly,thanks...


All times are GMT -4. The time now is 02:34.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.