Skip to content

Instantly share code, notes, and snippets.

@santiago
Created January 27, 2011 01:47
Show Gist options
  • Save santiago/797909 to your computer and use it in GitHub Desktop.
Save santiago/797909 to your computer and use it in GitHub Desktop.
var FFI = require("node-ffi");
var CUSTOM_USER_DIRECTORY= "/Users/santiago/tmp";
var Purple = new FFI.Library("/Users/santiago/tmp/lib/libpurple", { "purple_util_set_user_dir": [ "void", [ "pointer" ] ] });
Purple.purple_util_set_user_dir(CUSTOM_USER_DIRECTORY);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment