source: libcaca/trunk/java/org_zoy_caca_Caca.c @ 4333

Last change on this file since 4333 was 4333, checked in by Sam Hocevar, 10 years ago

Large source code cleanup, getting rid of spaces, tabs, and svn keywords.

File size: 672 bytes
Line 
1/**
2 *  libcaca       Java bindings for libcaca
3 *  Copyright (c) 2009 Adrien Grand <jpountz@dinauz.org>
4 *
5 *  This library is free software. It comes without any warranty, to
6 *  the extent permitted by applicable law. You can redistribute it
7 *  and/or modify it under the terms of the Do What The Fuck You Want
8 *  To Public License, Version 2, as published by Sam Hocevar. See
9 *  http://sam.zoy.org/wtfpl/COPYING for more details.
10 */
11
12#include "org_zoy_caca_Caca.h"
13
14#include "caca.h"
15
16
17JNIEXPORT jstring JNICALL
18Java_org_zoy_caca_Caca_getVersion(JNIEnv *env, jclass cls)
19{
20  const char *version = caca_get_version();
21  return (*env)->NewStringUTF(env, version);
22}
Note: See TracBrowser for help on using the repository browser.