Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
4 registered members (NewbieZorro, Grant, TipmyPip, AndrewAMD), 13,330 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
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 | 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