translat.c File Reference
Go to the source code of this file.
Defines |
| #define | tr_err(...) do { con_p_ctx(p); con_err(__VA_ARGS__); } while(0) |
| #define | tr_err_if(expr) do { if( (expr) ) { con_p_ctx(p); u_con("%s", #expr); goto err; } } while(0) |
| #define | tr_err_ifm(expr,...) do { if( (expr) ) { con_p_ctx(p); u_con(__VA_ARGS__); goto err; } } while(0) |
Typedefs |
| typedef struct kblock_s | kblock_t |
| typedef struct ppctx_s | ppctx_t |
Functions |
| int | translate_makefile_filepath (const char *filepath, const char *prefix, char *buf, size_t size) |
| int | translate_is_a_script (const char *filename) |
| int | translate (trans_info_t *pti) |
Define Documentation
| #define tr_err |
( |
... |
|
) |
do { con_p_ctx(p); con_err(__VA_ARGS__); } while(0) |
| #define tr_err_if |
( |
expr |
|
) |
do { if( (expr) ) { con_p_ctx(p); u_con("%s", #expr); goto err; } } while(0) |
| #define tr_err_ifm |
( |
expr, |
|
|
... |
|
) |
do { if( (expr) ) { con_p_ctx(p); u_con(__VA_ARGS__); goto err; } } while(0) |
Typedef Documentation
Function Documentation
| int translate_is_a_script |
( |
const char * |
filename |
) |
|
| int translate_makefile_filepath |
( |
const char * |
filepath, |
|
|
const char * |
prefix, |
|
|
char * |
buf, |
|
|
size_t |
size | |
|
) |
| | |