This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<iostream> | |
/** Example is very simple, see LibreOffice code for | |
real world/complicated examples. | |
Code is unnecessarily bloated to be clear. | |
*/ | |
//Macro to create template like functions | |
#define ADD_FUNC(ret,typedesc) \ | |
typedesc add##ret(typedesc a, typedesc b){\ | |
typedesc c; \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Aim | |
To make sense of LibreOffice source code. I plan to put a breakpoint in the constructors of | |
SwTableBox, and then get the back trace to see the flow and gain a little understanding of what's | |
going on. This is post is aimed at beginners, so a little knowledge of C++/Java should be able to | |
get one through this. | |
[A Little Background Info (Skip this) | |
I'm a programmer from the Center for Development of Advanced Computing (CDAC), India, currently |