Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 20:05
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (7th_zorro, AndrewAMD, TedMar), 1,306 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Translation Question #133029
06/01/07 12:12
06/01/07 12:12
Joined: Aug 2004
Posts: 176
Germany
Team_GamesArk Offline OP
Member
Team_GamesArk  Offline OP
Member

Joined: Aug 2004
Posts: 176
Germany
Hi,


what is the usage for this in LiteC ?
typedef int (*sqlite_callback)(void*,int,char**, char**);

If i use it so, i have a syntax error.

Thanks for the help

Frank

Re: Translation Question [Re: Team_GamesArk] #133030
06/01/07 12:57
06/01/07 12:57
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Yes; function pointers are defined differently in lite-C. Especially they can't be typedef'd.

int sqlite_callback(void*,int,char**, char**);

is a function prototype and function pointer at the same time.

http://manual.conitec.net/litec_c.htm

Re: Translation Question [Re: jcl] #133031
06/03/07 16:19
06/03/07 16:19
Joined: Aug 2004
Posts: 176
Germany
Team_GamesArk Offline OP
Member
Team_GamesArk  Offline OP
Member

Joined: Aug 2004
Posts: 176
Germany
First Thanks JCL!

But i have another translation question for this peace of code:

void *sqlite3_trace(sqlite3*, void(*xTrace)(void*,const char*), void*);

how must i convert this (the second entry - void...) ?

JCL can you help me again?

Thanks

Frank

Last edited by Team_GamesArk; 06/04/07 11:14.
Re: Translation Question [Re: jcl] #133032
06/04/07 17:45
06/04/07 17:45
Joined: Aug 2004
Posts: 176
Germany
Team_GamesArk Offline OP
Member
Team_GamesArk  Offline OP
Member

Joined: Aug 2004
Posts: 176
Germany
can no one help me with this problem?

Frank


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1