Skip to content

Instantly share code, notes, and snippets.

@scalone
Created May 28, 2014 19:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scalone/bed53886bd3dbf9f4d49 to your computer and use it in GitHub Desktop.
Save scalone/bed53886bd3dbf9f4d49 to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
//SEKAL
int process_transaction(int (*callbackFunc)(int iDo))
{
int showBitmap=1;
// gac
callbackFunc(showBitmap);
// PIN
}
//SEKAL
//Framework
int callback(int iDo)
{
if (iDo == 1) printf("bitmap");
}
int main(void)
{
process_transaction(&callback);
}
//Framework
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment