[Question] Checking if function exists?
#5

That's the thing, I can't do that.

Here's the issue:

There is a stock in the YSI library which is defined as 'bernstein' (hashing algorithm).
I need to use that function for an include I am working on, however the YSI library is very common.

If I would add the function to the include, people who use the YSI library will get an error saying that the function is already defined.

However if I don't put it in, assuming people already have that function defined people who don't use the YSI library will get an error saying the function is not defined.

I could rename it, but I believe people wouldn't want the same function to be defined twice in their gamemode assuming they would use the include.

Any suggestions?
Reply


Messages In This Thread
[Question] Checking if function exists? - by Maxips2 - 19.08.2012, 22:22
Re: [Question] Checking if function exists? - by SuperViper - 19.08.2012, 22:37
Re: [Question] Checking if function exists? - by Maxips2 - 19.08.2012, 22:38
Re: [Question] Checking if function exists? - by SuperViper - 19.08.2012, 22:43
Re: [Question] Checking if function exists? - by Maxips2 - 19.08.2012, 22:51
Re: [Question] Checking if function exists? - by Vince - 19.08.2012, 23:14
Re: [Question] Checking if function exists? - by Maxips2 - 19.08.2012, 23:18

Forum Jump:


Users browsing this thread: 1 Guest(s)