Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TIMOB-14463 add updated package.json template and tibb.h that exports the module reg... #161

Merged
merged 1 commit into from
Aug 14, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"description": "This is the ___PROJECTNAME___ package descriptor",
"type": "native",
"directories": {
"lib": "arm/a.le-v7, x86/a-g"
"lib": ""
},
"main": "lib___PROJECTNAME___.a",
"main": "___PROJECTNAME___",
"name": "___PROJECTNAME___",
"version": "1.0.0"
}
7 changes: 7 additions & 0 deletions build_templates/blackberry/tibb/include/tibb.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,16 @@
#ifndef TIBB_H_
#define TIBB_H_

#include <string>
#include "TiModule.h"

extern "C"
{
int tibb_run(const char* javaScript, int argc, char** argv);

void tiRegisterModule(std::string name, TiModule* module);

TiModule* getModuleByName(std::string name);
}

#endif /* TIBB_H_ */