Re: Problem with Writing Wrapper

new topic     » goto parent     » topic index » view thread      » older message » newer message
Lone_EverGreen_Ranger said...

Hello,

I am trying to test my SFML 2.0 wrapper that I wrote for Euphoria. Every time I try to use a function or procedure call from it, it says it has been not declared. For example, in the below code, it says sfClock_create has not been declared. Here is my code. Anyone know why I would be getting these errors, even though they are declared. I'm using Windows 7 64-bit, Eu 4.0.5

EuSFML.ew (include file)

 
constant xsfClock_create = define_c_func(sf_sys,"sfClock_create",{},C_POINTER) 
 

xsfClock needs to be scoped public.

public constant xsfClock_create = define_c_func(sf_sys,"sfClock_create",{},C_POINTER) 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu