[gedit-list] OFFTOPIC: placeholders in C

Hi all,

I know that this is not the correct place for this question but I
think you have used placeholders before.

I want to use placeholders like java ant For example:

gchar* host = ${db.host}

then a function parse the placeholders with the correct data:

(parameters = "db.host = localhost")

gchar* parseText(gchar* text, parameters);

This function may return the text with the placeholders replaced.
Something like this:

gchar* host = localhost

There is some library to do this in C?? With this plaholders
(${var.name}) or others...

Thanks a lot!!!!!!

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]