Re-run indent.sh under GNU indent 2.2.13
Slight change to its default behavior re: pointer variables (before: "type * var"; now seems to prefer: "type *var").
This commit is contained in:
parent
073ac19ce6
commit
44d7d0ee5d
94 changed files with 2831 additions and 2856 deletions
|
|
@ -32,7 +32,7 @@ char *get_nativelibdir()
|
|||
return nativelibdir;
|
||||
}
|
||||
|
||||
void load_assets_dir(char *dirname, tp_ftw_str ** ffilenames, unsigned *num_file_names)
|
||||
void load_assets_dir(char *dirname, tp_ftw_str **ffilenames, unsigned *num_file_names)
|
||||
{
|
||||
AAssetDir *assetDir = AAssetManager_openDir(asset_manager, dirname);
|
||||
const char *filename = (const char *)NULL;
|
||||
|
|
@ -67,7 +67,7 @@ void load_assets_dir(char *dirname, tp_ftw_str ** ffilenames, unsigned *num_file
|
|||
*ffilenames = filenames;
|
||||
}
|
||||
|
||||
JNIEXPORT jboolean Java_org_tuxpaint_tuxpaintActivity_managertojni(JNIEnv * env, jclass clazz, jobject mgr)
|
||||
JNIEXPORT jboolean Java_org_tuxpaint_tuxpaintActivity_managertojni(JNIEnv *env, jclass clazz, jobject mgr)
|
||||
{
|
||||
asset_manager = AAssetManager_fromJava(env, mgr);
|
||||
|
||||
|
|
@ -77,7 +77,7 @@ JNIEXPORT jboolean Java_org_tuxpaint_tuxpaintActivity_managertojni(JNIEnv * env,
|
|||
return 1;
|
||||
}
|
||||
|
||||
JNIEXPORT void Java_org_tuxpaint_tuxpaintActivity_setnativelibdir(JNIEnv * env, jclass clazz, jstring path)
|
||||
JNIEXPORT void Java_org_tuxpaint_tuxpaintActivity_setnativelibdir(JNIEnv *env, jclass clazz, jstring path)
|
||||
{
|
||||
const char *cpath = (*env)->GetStringUTFChars(env, path, NULL);
|
||||
|
||||
|
|
@ -86,13 +86,13 @@ JNIEXPORT void Java_org_tuxpaint_tuxpaintActivity_setnativelibdir(JNIEnv * env,
|
|||
}
|
||||
|
||||
|
||||
void load_brushes_from_assets(SDL_Surface * screen, SDL_Texture * texture,
|
||||
SDL_Renderer * renderer, const char *dirname,
|
||||
void (*fn)(SDL_Surface * screen,
|
||||
SDL_Texture * texture,
|
||||
SDL_Renderer * renderer,
|
||||
void load_brushes_from_assets(SDL_Surface *screen, SDL_Texture *texture,
|
||||
SDL_Renderer *renderer, const char *dirname,
|
||||
void (*fn)(SDL_Surface *screen,
|
||||
SDL_Texture *texture,
|
||||
SDL_Renderer *renderer,
|
||||
const char *restrict const dir,
|
||||
unsigned dirlen, tp_ftw_str * files,
|
||||
unsigned dirlen, tp_ftw_str *files,
|
||||
unsigned count, const char *restrict const locale))
|
||||
{
|
||||
unsigned num_file_names = 0;
|
||||
|
|
@ -111,13 +111,12 @@ void load_brushes_from_assets(SDL_Surface * screen, SDL_Texture * texture,
|
|||
|
||||
|
||||
|
||||
void load_from_assets(SDL_Surface * screen, SDL_Texture * texture,
|
||||
SDL_Renderer * renderer, const char *dirname,
|
||||
void (*fn)(SDL_Surface * screen, SDL_Texture * texture,
|
||||
SDL_Renderer * renderer,
|
||||
void load_from_assets(SDL_Surface *screen, SDL_Texture *texture,
|
||||
SDL_Renderer *renderer, const char *dirname,
|
||||
void (*fn)(SDL_Surface *screen, SDL_Texture *texture,
|
||||
SDL_Renderer *renderer,
|
||||
const char *restrict const dir,
|
||||
unsigned dirlen, tp_ftw_str * files,
|
||||
unsigned count, const char *restrict const locale))
|
||||
unsigned dirlen, tp_ftw_str *files, unsigned count, const char *restrict const locale))
|
||||
{
|
||||
unsigned num_file_names = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue