Giter Site home page Giter Site logo

olivierld / job Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 21.5 MB

An attempt to create a Java library that communicates with the RaspberryPI (and similar boards) Hardware

Shell 1.11% Makefile 0.09% C 1.51% Java 50.71% Scala 0.35% Processing 46.04% Groovy 0.19%
java raspberry-pi single-board

job's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

job's Issues

A bug here

https://github.com/OlivierLD/JavaHard/blob/ae091781bc1f98c38e20eced704e0c6165ecba8a/core/src/C/jhard.c#L71

According to the JNI Functions (https://docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/functions.html), the third parameter should be a pointer to a valid address for accepting boolean indicator. Use JNI_FALSE may not lead to crash, if it is actually zero.

Dude, I saw your personal site. There are many cool stuffs your have done on sea. Hope you can do more!

GetStringUTFChars

const char * GetStringUTFChars(JNIEnv *env, jstring string,
jboolean *isCopy);

Returns a pointer to an array of bytes representing the string in modified UTF-8 encoding. This array is valid until it is released by ReleaseStringUTFChars().

If isCopy is not NULL, then *isCopy is set to JNI_TRUE if a copy is made; or it is set to JNI_FALSE if no copy is made.

LINKAGE:
Index 169 in the JNIEnv interface function table.
PARAMETERS:

env: the JNI interface pointer.

string: a Java string object.

isCopy: a pointer to a boolean.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.